Share via


BuildClientUtil.CreateWorkspace Method

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

Syntax

'Declaration
Public Shared Function CreateWorkspace ( _
    versionControl As VersionControlServer, _
    name As String, _
    folders As IEnumerable(Of WorkingFolder), _
    comment As String, _
    wsSecurity As IEnumerable(Of AccessControlEntry) _
) As Workspace
public static Workspace CreateWorkspace(
    VersionControlServer versionControl,
    string name,
    IEnumerable<WorkingFolder> folders,
    string comment,
    IEnumerable<AccessControlEntry> wsSecurity
)
public:
static Workspace^ CreateWorkspace(
    VersionControlServer^ versionControl, 
    String^ name, 
    IEnumerable<WorkingFolder^>^ folders, 
    String^ comment, 
    IEnumerable<AccessControlEntry^>^ wsSecurity
)
static member CreateWorkspace : 
        versionControl:VersionControlServer * 
        name:string * 
        folders:IEnumerable<WorkingFolder> * 
        comment:string * 
        wsSecurity:IEnumerable<AccessControlEntry> -> Workspace
public static function CreateWorkspace(
    versionControl : VersionControlServer, 
    name : String, 
    folders : IEnumerable<WorkingFolder>, 
    comment : String, 
    wsSecurity : IEnumerable<AccessControlEntry>
) : Workspace

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
Returns Workspace.

.NET Framework Security

See Also

Reference

BuildClientUtil Class

Microsoft.TeamFoundation.Build.Client Namespace