Partager via


BuildDefinition.WorkspaceTemplate Property

Gets or sets the workspace template that is used to create a workspace on a build agent.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Private)> _
Public Property WorkspaceTemplate As WorkspaceTemplate
[ClientPropertyAttribute(ClientVisibility.Private)]
public WorkspaceTemplate WorkspaceTemplate { get; set; }
[ClientPropertyAttribute(ClientVisibility::Private)]
public:
property WorkspaceTemplate^ WorkspaceTemplate {
    WorkspaceTemplate^ get ();
    void set (WorkspaceTemplate^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Private)>]
member WorkspaceTemplate : WorkspaceTemplate with get, set
function get WorkspaceTemplate () : WorkspaceTemplate 
function set WorkspaceTemplate (value : WorkspaceTemplate)

Property Value

Type: Microsoft.TeamFoundation.Build.Server.WorkspaceTemplate
Returns WorkspaceTemplate.

.NET Framework Security

See Also

Reference

BuildDefinition Class

Microsoft.TeamFoundation.Build.Server Namespace