共用方式為


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

將ResourcesRow物件加入至使用不同參數的ResourcesDataTable哪。

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

Syntax

'宣告
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
'用途
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
)

參數

  • RES_IS_WINDOWS_USER
    Type: System.Boolean

    指定的資源是否是 windows 使用者。

  • RES_PREVENT_ADSYNC
    Type: System.Boolean

    指定是否資源可以避免 adsync。

  • WRES_AD_GUID
    Type: System.Guid

    包含資源授權 GUID。

  • RES_EXCHANGE_SYNC
    Type: System.Boolean

    指定是否要與 Microsoft Exchange 同步處理資源資訊。

傳回值

Type: WebSvcResource.ResourceAuthorizationDataSet.ResourcesRow
傳回ResourceAuthorizationDataSet.ResourcesRow

請參閱

參照

ResourceAuthorizationDataSet.ResourcesDataTable class

ResourceAuthorizationDataSet.ResourcesDataTable members

AddResourcesRow overload

WebSvcResource namespace