共用方式為


IdentityManagementWebService.CreateApplicationGroup 方法

建立 TFS 應用程式群組

命名空間:  Microsoft.TeamFoundation.Framework.Server.WebServices
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<WebMethodAttribute> _
Public Function CreateApplicationGroup ( _
    projectUri As String, _
    groupName As String, _
    groupDescription As String _
) As IdentityDescriptor
[WebMethodAttribute]
public IdentityDescriptor CreateApplicationGroup(
    string projectUri,
    string groupName,
    string groupDescription
)

參數

  • projectUri
    型別:System.String
    如果是空的或空的,群組會建立在伺服器範圍,或群組是建立在專案範圍內每個參數
  • groupDescription
    型別:System.String
    描述。可以是空白

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
識別項是所建立之群組的 Sid 的描述項

.NET Framework 安全性

請參閱

參考

IdentityManagementWebService 類別

Microsoft.TeamFoundation.Framework.Server.WebServices 命名空間