Поделиться через


Метод WssSettingsDataSet.WssAdminDataTable.AddWssAdminRow (Guid, Guid, String, Int32, String, Int32, Byte, Byte, Int32, Int32, Int32, Int32, Int32)

Этот элемент зарезервирован для внутреннего использования и не предназначен для прямого применения в коде.

Пространство имен:  WebSvcWssInterop
Сборка:  ProjectServerServices (в ProjectServerServices.dll)

Синтаксис

'Декларация
Public Function AddWssAdminRow ( _
    WADMIN_UIDFAKE As Guid, _
    WADMIN_CURRENT_STS_SERVER_UID As Guid, _
    WADMIN_DEFAULT_SITE_COLLECTION As String, _
    WADMIN_WSS_RESTRICT_WORKSPACE_CREATION As Integer, _
    WADMIN_STS_TEMPLATE_ID As String, _
    WADMIN_STS_TEMPLATE_LCID As Integer, _
    WADMIN_AUTO_CREATE_SUBWEBS As Byte, _
    WADMIN_AUTO_ADD_USER_TO_SUBWEB As Byte, _
    WADMIN_WSS_PWA_ADMIN_ROLE_ID As Integer, _
    WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer, _
    WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer, _
    WADMIN_WSS_PWA_READER_ROLE_ID As Integer, _
    WADMIN_USER_SYNC_SETTING As Integer _
) As WssSettingsDataSet.WssAdminRow
'Применение
Dim instance As WssSettingsDataSet.WssAdminDataTable
Dim WADMIN_UIDFAKE As Guid
Dim WADMIN_CURRENT_STS_SERVER_UID As Guid
Dim WADMIN_DEFAULT_SITE_COLLECTION As String
Dim WADMIN_WSS_RESTRICT_WORKSPACE_CREATION As Integer
Dim WADMIN_STS_TEMPLATE_ID As String
Dim WADMIN_STS_TEMPLATE_LCID As Integer
Dim WADMIN_AUTO_CREATE_SUBWEBS As Byte
Dim WADMIN_AUTO_ADD_USER_TO_SUBWEB As Byte
Dim WADMIN_WSS_PWA_ADMIN_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_READER_ROLE_ID As Integer
Dim WADMIN_USER_SYNC_SETTING As Integer
Dim returnValue As WssSettingsDataSet.WssAdminRow

returnValue = instance.AddWssAdminRow(WADMIN_UIDFAKE, _
    WADMIN_CURRENT_STS_SERVER_UID, _
    WADMIN_DEFAULT_SITE_COLLECTION, _
    WADMIN_WSS_RESTRICT_WORKSPACE_CREATION, _
    WADMIN_STS_TEMPLATE_ID, WADMIN_STS_TEMPLATE_LCID, _
    WADMIN_AUTO_CREATE_SUBWEBS, WADMIN_AUTO_ADD_USER_TO_SUBWEB, _
    WADMIN_WSS_PWA_ADMIN_ROLE_ID, WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID, _
    WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID, _
    WADMIN_WSS_PWA_READER_ROLE_ID, _
    WADMIN_USER_SYNC_SETTING)
public WssSettingsDataSet.WssAdminRow AddWssAdminRow(
    Guid WADMIN_UIDFAKE,
    Guid WADMIN_CURRENT_STS_SERVER_UID,
    string WADMIN_DEFAULT_SITE_COLLECTION,
    int WADMIN_WSS_RESTRICT_WORKSPACE_CREATION,
    string WADMIN_STS_TEMPLATE_ID,
    int WADMIN_STS_TEMPLATE_LCID,
    byte WADMIN_AUTO_CREATE_SUBWEBS,
    byte WADMIN_AUTO_ADD_USER_TO_SUBWEB,
    int WADMIN_WSS_PWA_ADMIN_ROLE_ID,
    int WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID,
    int WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID,
    int WADMIN_WSS_PWA_READER_ROLE_ID,
    int WADMIN_USER_SYNC_SETTING
)

Параметры

  • WADMIN_WSS_RESTRICT_WORKSPACE_CREATION
    Тип: System.Int32
  • WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID
    Тип: System.Int32

Возвращаемое значение

Тип: WebSvcWssInterop.WssSettingsDataSet.WssAdminRow

См. также

Справочные материалы

WssSettingsDataSet.WssAdminDataTable класс

Элементы WssSettingsDataSet.WssAdminDataTable

Перегрузка AddWssAdminRow

Пространство имен WebSvcWssInterop