ResourceAuthorizationDataSet.ResourcesDataTable.AddResourcesRow 方法 (Guid, String, Boolean, Boolean, Guid, Boolean)

向使用单独的参数ResourcesDataTable.by 的一个ResourcesRow对象。

命名空间:  WebSvcResource
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
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
)

参数

  • WRES_ACCOUNT
    类型:System.String

    包含资源的帐户信息。

  • RES_IS_WINDOWS_USER
    类型:System.Boolean

    指定如果该资源的 windows 用户。

  • RES_PREVENT_ADSYNC
    类型:System.Boolean

    指定是否该资源可防止 adsync。

  • WRES_AD_GUID
    类型:System.Guid

    包含资源授权 GUID。

  • RES_EXCHANGE_SYNC
    类型:System.Boolean

    指定是否可以将 Microsoft Exchange 资源信息同步。

返回值

类型:WebSvcResource.ResourceAuthorizationDataSet.ResourcesRow
返回ResourceAuthorizationDataSet.ResourcesRow

另请参阅

引用

ResourceAuthorizationDataSet.ResourcesDataTable 类

ResourceAuthorizationDataSet.ResourcesDataTable 成员

AddResourcesRow 重载

WebSvcResource 命名空间