BuildMaster SDK Reference
Version:

CreateSymbolicLink(string linkDirectoryName, string targetDirectoryName) Method

Creates a symbolic link to a directory.

Syntax

public static void CreateSymbolicLink(string linkDirectoryName, string targetDirectoryName)

Parameters

linkDirectoryName
Type: string

The full path of the new symbolic link to create.

targetDirectoryName
Type: string

The path of the link target; this may be absolute or relative to linkDirectoryName.

Exceptions

System.ArgumentNullException

linkDirectoryName is null (Nothing in Visual Basic) or empty or targetDirectoryName is null (Nothing in Visual Basic) or empty.