IdentityService.CreateScope 方法
命名空間: Microsoft.VisualStudio.Services.Identity
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public MustOverride Function CreateScope ( _
requestContext As TeamFoundationRequestContext, _
scopeId As Guid, _
parentScopeId As Guid, _
scopeType As GroupScopeType, _
scopeName As String, _
adminGroupName As String, _
adminGroupDescription As String, _
creatorId As Guid _
) As IdentityScope
public abstract IdentityScope CreateScope(
TeamFoundationRequestContext requestContext,
Guid scopeId,
Guid parentScopeId,
GroupScopeType scopeType,
string scopeName,
string adminGroupName,
string adminGroupDescription,
Guid creatorId
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- scopeId
類型:System.Guid
- parentScopeId
類型:System.Guid
- scopeName
類型:System.String
- adminGroupName
類型:System.String
- adminGroupDescription
類型:System.String
- creatorId
類型:System.Guid
傳回值
類型:Microsoft.VisualStudio.Services.Identity.IdentityScope
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。