Share via


Workspace.Cloak Method

Marks a file or folder in the version-control 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 server path to the folder that is being excluded.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace