Condividi tramite


ResourceAuthorizationDataSet.ResourcesDataTable.AddResourcesRow method (Guid, String, Boolean, Boolean, Guid, Boolean)

Adds a ResourcesRow object to the ResourcesDataTable.by using separate parameters.

Namespace:  WebSvcResource
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
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
'Usage
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
)

Parameters

  • RES_UID
    Type: System.Guid

    Contains the resource GUID.

  • WRES_ACCOUNT
    Type: System.String

    Contains the resource account information.

  • RES_IS_WINDOWS_USER
    Type: System.Boolean

    Specifies if the resource is a windows user.

  • RES_PREVENT_ADSYNC
    Type: System.Boolean

    Specifies if the resource prevents adsync.

  • WRES_AD_GUID
    Type: System.Guid

    Contains the resource authorization GUID.

  • RES_EXCHANGE_SYNC
    Type: System.Boolean

    Specifies whether to synchronize resource information with Microsoft Exchange.

Return value

Type: WebSvcResource.ResourceAuthorizationDataSet.ResourcesRow
Returns ResourceAuthorizationDataSet.ResourcesRow

See also

Reference

ResourceAuthorizationDataSet.ResourcesDataTable class

ResourceAuthorizationDataSet.ResourcesDataTable members

AddResourcesRow overload

WebSvcResource namespace