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

'Declaration
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

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IWorkspaceMapping
A new workspace mapping.

.NET Framework Security

See Also

Reference

IWorkspaceTemplate Interface

Microsoft.TeamFoundation.Build.Client Namespace