IWorkspaceTemplate.Cloak Method
Adds a cloak entry to this workspace for the specified server item.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Déclaration
Function Cloak ( _
serverItem As String _
) As IWorkspaceMapping
IWorkspaceMapping Cloak(
string serverItem
)
IWorkspaceMapping^ Cloak(
String^ serverItem
)
abstract Cloak :
serverItem:string -> IWorkspaceMapping
function Cloak(
serverItem : String
) : IWorkspaceMapping
Parameters
- serverItem
Type: System.String
The server item to cloak.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IWorkspaceMapping
A new workspace mapping.
.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.