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
- versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
- name
Type: System.String
- folders
Type: System.Collections.Generic.IEnumerable<WorkingFolder>
- comment
Type: System.String
- wsSecurity
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
Returns Workspace.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.