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


Метод ProjectWSSInfoDataSet.ProjWssInfoDataTable.AddProjWssInfoRow (Guid, Guid, String, String, String, String, String, String, String, String, Int32, Int32, Int32, Int32)

Добавляет объект ProjWssInfoRowProjWssInfoDataTable, с помощью отдельных параметров.

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

Синтаксис

'Декларация
Public Function AddProjWssInfoRow ( _
    WSS_SERVER_UID As Guid, _
    PROJECT_UID As Guid, _
    PROJECT_WORKSPACE_URL As String, _
    PROJECT_ISSUES_URL As String, _
    PROJECT_RISKS_URL As String, _
    PROJECT_DOCUMENTS_URL As String, _
    PROJECT_WORKSPACE_NAME As String, _
    PROJECT_WORKSPACE_VSERVER_URL As String, _
    PROJECT_NAME As String, _
    PROJECT_COMMITMENTS_URL As String, _
    WSS_PWA_ADMIN_ROLE_ID As Integer, _
    WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer, _
    WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer, _
    WSS_PWA_READER_ROLE_ID As Integer _
) As ProjectWSSInfoDataSet.ProjWssInfoRow
'Применение
Dim instance As ProjectWSSInfoDataSet.ProjWssInfoDataTable
Dim WSS_SERVER_UID As Guid
Dim PROJECT_UID As Guid
Dim PROJECT_WORKSPACE_URL As String
Dim PROJECT_ISSUES_URL As String
Dim PROJECT_RISKS_URL As String
Dim PROJECT_DOCUMENTS_URL As String
Dim PROJECT_WORKSPACE_NAME As String
Dim PROJECT_WORKSPACE_VSERVER_URL As String
Dim PROJECT_NAME As String
Dim PROJECT_COMMITMENTS_URL As String
Dim WSS_PWA_ADMIN_ROLE_ID As Integer
Dim WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer
Dim WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer
Dim WSS_PWA_READER_ROLE_ID As Integer
Dim returnValue As ProjectWSSInfoDataSet.ProjWssInfoRow

returnValue = instance.AddProjWssInfoRow(WSS_SERVER_UID, _
    PROJECT_UID, PROJECT_WORKSPACE_URL, _
    PROJECT_ISSUES_URL, PROJECT_RISKS_URL, _
    PROJECT_DOCUMENTS_URL, PROJECT_WORKSPACE_NAME, _
    PROJECT_WORKSPACE_VSERVER_URL, _
    PROJECT_NAME, PROJECT_COMMITMENTS_URL, _
    WSS_PWA_ADMIN_ROLE_ID, WSS_PWA_PROJECT_MANAGER_ROLE_ID, _
    WSS_PWA_TEAM_MEMBER_ROLE_ID, WSS_PWA_READER_ROLE_ID)
public ProjectWSSInfoDataSet.ProjWssInfoRow AddProjWssInfoRow(
    Guid WSS_SERVER_UID,
    Guid PROJECT_UID,
    string PROJECT_WORKSPACE_URL,
    string PROJECT_ISSUES_URL,
    string PROJECT_RISKS_URL,
    string PROJECT_DOCUMENTS_URL,
    string PROJECT_WORKSPACE_NAME,
    string PROJECT_WORKSPACE_VSERVER_URL,
    string PROJECT_NAME,
    string PROJECT_COMMITMENTS_URL,
    int WSS_PWA_ADMIN_ROLE_ID,
    int WSS_PWA_PROJECT_MANAGER_ROLE_ID,
    int WSS_PWA_TEAM_MEMBER_ROLE_ID,
    int WSS_PWA_READER_ROLE_ID
)

Параметры

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

Тип: WebSvcWssInterop.ProjectWSSInfoDataSet.ProjWssInfoRow
Возвращает ProjectWSSInfoDataSet.ProjWssInfoRow.

Замечания

Как правило разработчикам следует использовать перегруженный метод AddProjWssInfoRow .

См. также

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

ProjectWSSInfoDataSet.ProjWssInfoDataTable класс

Элементы ProjectWSSInfoDataSet.ProjWssInfoDataTable

Перегрузка AddProjWssInfoRow

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