次の方法で共有


IWorkspaceTemplate Interface

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

'Declaration
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
Public property LastModifiedBy Gets the user who last modified this workspace.
Public property LastModifiedDate Gets the date and time when this workspace was last modified.
Public property Mappings Gets the workspace mappings for this workspace.

Top

Methods

  Name Description
Public method AddMapping() Adds a workspace mapping to this workspace.
Public method 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.
Public method AddMapping(String, String, WorkspaceMappingType, WorkspaceMappingDepth) Adds a workspace mapping that has the specified server item, local item, mapping type, and depth.
Public method Cloak Adds a cloak entry to this workspace for the specified server item.
Public method CopyFrom Copies properties from a source workspace template to this one
Public method Map Adds a workspace mapping that has the specified server item and local item. Sets the mapping type to WorkspaceMappingType.Map.
Public method RemoveMapping(String) Removes the mapping for the specified server item from the workspace template.
Public method RemoveMapping(IWorkspaceMapping) Removes the specified mapping from the workspace template.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace