FrameworkPrivilegesManager 建構函式
命名空間: Microsoft.TeamFoundation.Controls.WinForms
組件: Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)
語法
'宣告
Public Sub New ( _
server As TfsConnection, _
scopeId As String, _
scopeName As String, _
namespacePermissionSpecs As IEnumerable(Of NamespacePermissionSet), _
adminPermissionsAutoGranted As Boolean _
)
public FrameworkPrivilegesManager(
TfsConnection server,
string scopeId,
string scopeName,
IEnumerable<NamespacePermissionSet> namespacePermissionSpecs,
bool adminPermissionsAutoGranted
)
參數
- scopeId
型別:System.String
- scopeName
型別:System.String
- namespacePermissionSpecs
型別:System.Collections.Generic.IEnumerable<NamespacePermissionSet>
- adminPermissionsAutoGranted
型別:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。