BuildMaster SDK Reference
Version:

CreateSymbolicLink(string linkFileName, string targetFileName) Method

Creates a symbolic link to a file.

Syntax

public static void CreateSymbolicLink(string linkFileName, string targetFileName)

Parameters

linkFileName
Type: string

The full path of the new symbolic link to create.

targetFileName
Type: string

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

Exceptions

System.ArgumentNullException

linkFileName is null (Nothing in Visual Basic) or empty or targetFileName is null (Nothing in Visual Basic) or empty.