Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 of the folder that is 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.