AddGroupControl.AddWindowsUsersOrGroups 方法
命名空间: Microsoft.TeamFoundation.Controls.WinForms
程序集: Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)
语法
声明
Public Shared Function AddWindowsUsersOrGroups ( _
parentWindow As IWin32Window, _
identityService As IIdentityManagementService, _
<OutAttribute> ByRef newIdentities As TeamFoundationIdentity() _
) As Boolean
public static bool AddWindowsUsersOrGroups(
IWin32Window parentWindow,
IIdentityManagementService identityService,
out TeamFoundationIdentity[] newIdentities
)
参数
- parentWindow
类型:System.Windows.Forms.IWin32Window
- identityService
类型:Microsoft.TeamFoundation.Framework.Client.IIdentityManagementService
- newIdentities
类型:array<Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity[]%
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。