Compartir a través de


(Guid, String, Boolean, Boolean, Guid, Boolean) del método ResourceAuthorizationDataSet.ResourcesDataTable.AddResourcesRow

Agrega un objeto ResourcesRow a la by ResourcesDataTablemediante parámetros independientes.

Espacio de nombres:  WebSvcResource
Ensamblado:  ProjectServerServices (en ProjectServerServices.dll)

Sintaxis

'Declaración
Public Function AddResourcesRow ( _
    RES_UID As Guid, _
    WRES_ACCOUNT As String, _
    RES_IS_WINDOWS_USER As Boolean, _
    RES_PREVENT_ADSYNC As Boolean, _
    WRES_AD_GUID As Guid, _
    RES_EXCHANGE_SYNC As Boolean _
) As ResourceAuthorizationDataSet.ResourcesRow
'Uso
Dim instance As ResourceAuthorizationDataSet.ResourcesDataTable
Dim RES_UID As Guid
Dim WRES_ACCOUNT As String
Dim RES_IS_WINDOWS_USER As Boolean
Dim RES_PREVENT_ADSYNC As Boolean
Dim WRES_AD_GUID As Guid
Dim RES_EXCHANGE_SYNC As Boolean
Dim returnValue As ResourceAuthorizationDataSet.ResourcesRow

returnValue = instance.AddResourcesRow(RES_UID, _
    WRES_ACCOUNT, RES_IS_WINDOWS_USER, _
    RES_PREVENT_ADSYNC, WRES_AD_GUID, _
    RES_EXCHANGE_SYNC)
public ResourceAuthorizationDataSet.ResourcesRow AddResourcesRow(
    Guid RES_UID,
    string WRES_ACCOUNT,
    bool RES_IS_WINDOWS_USER,
    bool RES_PREVENT_ADSYNC,
    Guid WRES_AD_GUID,
    bool RES_EXCHANGE_SYNC
)

Parámetros

  • RES_UID
    Tipo: System.Guid

    Contiene el GUID del recurso.

  • WRES_ACCOUNT
    Tipo: System.String

    Contiene la información de la cuenta de recursos.

  • RES_IS_WINDOWS_USER
    Tipo: System.Boolean

    Especifica si el recurso es un usuario de windows.

  • RES_PREVENT_ADSYNC
    Tipo: System.Boolean

    Especifica si el recurso evita adsync.

  • WRES_AD_GUID
    Tipo: System.Guid

    Contiene el GUID de autorización de recursos.

  • RES_EXCHANGE_SYNC
    Tipo: System.Boolean

    Especifica si se va a sincronizar la información de recursos con Microsoft Exchange.

Valor devuelto

Tipo: WebSvcResource.ResourceAuthorizationDataSet.ResourcesRow
Devuelve ResourceAuthorizationDataSet.ResourcesRow

Vea también

Referencia

clase ResourceAuthorizationDataSet.ResourcesDataTable

Miembros ResourceAuthorizationDataSet.ResourcesDataTable

Sobrecarga AddResourcesRow

Espacio de nombres WebSvcResource