Workspace.Cloak Method
Marks a file or folder in the repository as being excluded from this workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub Cloak ( _
serverPath As String _
)
public void Cloak(
string serverPath
)
public:
void Cloak(
String^ serverPath
)
member Cloak :
serverPath:string -> unit
public function Cloak(
serverPath : String
)
Parameters
- serverPath
Type: System.String
The repository path to the folder being excluded.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.