BuildClientUtil.CreateWorkspace 方法
命名空間: Microsoft.TeamFoundation.Build.Client
組件: Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)
語法
'宣告
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
)
參數
- versionControl
類型:Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
- name
類型:System.String
- folders
類型:System.Collections.Generic.IEnumerable<WorkingFolder>
- comment
類型:System.String
- wsSecurity
類型:System.Collections.Generic.IEnumerable<AccessControlEntry>
傳回值
類型:Microsoft.TeamFoundation.VersionControl.Client.Workspace
傳回 Workspace。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。