ResourceAuthorizationDataSet.ResourcesDataTable.AddResourcesRow Method (Guid, String, Boolean, Boolean, Guid, Boolean)
Adds a ResourcesRow object to the ResourcesDataTable.by using separate parameters.
Namespace: [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl
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: [Resource Web service].ResourceAuthorizationDataSet.ResourcesRow
Returns ResourceAuthorizationDataSet.ResourcesRow
See Also
Reference
ResourceAuthorizationDataSet.ResourcesDataTable Class