Represents a build definition workspace on the server that is running Team Foundation Build.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Public Interface IWorkspaceTemplate
public interface IWorkspaceTemplate
public interface class IWorkspaceTemplate
type IWorkspaceTemplate =  interface end
public interface IWorkspaceTemplate
The IWorkspaceTemplate type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | LastModifiedBy | Gets the user who last modified this workspace. | 
| .gif) | LastModifiedDate | Gets the date and time when this workspace was last modified. | 
| .gif) | Mappings | Gets the workspace mappings for this workspace. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddMapping() | Adds a workspace mapping to this workspace. | 
| .gif) | AddMapping(String, String, WorkspaceMappingType) | Adds a workspace mapping that has the specified server item, local item, and mapping type. Sets the mapping depth to 120. | 
| .gif) | AddMapping(String, String, WorkspaceMappingType, WorkspaceMappingDepth) | Adds a workspace mapping that has the specified server item, local item, mapping type, and depth. | 
| .gif) | Cloak | Adds a cloak entry to this workspace for the specified server item. | 
| .gif) | Map | Adds a workspace mapping that has the specified server item and local item. Sets the mapping type to WorkspaceMappingType.Map. | 
| .gif) | RemoveMapping(String) | Removes the mapping for the specified server item from the workspace template. | 
| .gif) | RemoveMapping(IWorkspaceMapping) | Removes the specified mapping from the workspace template. | 
Top