UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow method (Guid, Guid, String, Guid, String, DateTime, DateTime)
Adds a ResourceDelegationsRow object to the ResourceDelegationsDataTable by using separate parameters.
Namespace: WebSvcResource
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
Public Function AddResourceDelegationsRow ( _
DELEGATION_UID As Guid, _
RES_UID As Guid, _
RES_NAME As String, _
DELEGATE_UID As Guid, _
DELEGATE_NAME As String, _
DELEGATION_START As DateTime, _
DELEGATION_FINISH As DateTime _
) As UserDelegationDataSet.ResourceDelegationsRow
'Usage
Dim instance As UserDelegationDataSet.ResourceDelegationsDataTable
Dim DELEGATION_UID As Guid
Dim RES_UID As Guid
Dim RES_NAME As String
Dim DELEGATE_UID As Guid
Dim DELEGATE_NAME As String
Dim DELEGATION_START As DateTime
Dim DELEGATION_FINISH As DateTime
Dim returnValue As UserDelegationDataSet.ResourceDelegationsRow
returnValue = instance.AddResourceDelegationsRow(DELEGATION_UID, _
RES_UID, RES_NAME, DELEGATE_UID, _
DELEGATE_NAME, DELEGATION_START, _
DELEGATION_FINISH)
public UserDelegationDataSet.ResourceDelegationsRow AddResourceDelegationsRow(
Guid DELEGATION_UID,
Guid RES_UID,
string RES_NAME,
Guid DELEGATE_UID,
string DELEGATE_NAME,
DateTime DELEGATION_START,
DateTime DELEGATION_FINISH
)
Parameters
DELEGATION_UID
Type: System.GuidContains the delegation GUID.
RES_UID
Type: System.GuidContains the resource GUID.
RES_NAME
Type: System.StringContains the resource name.
DELEGATE_UID
Type: System.GuidContains the delegate GUID.
DELEGATE_NAME
Type: System.StringContains the delegate name.
DELEGATION_START
Type: System.DateTimeContains the start date of the delegation.
DELEGATION_FINISH
Type: System.DateTimeContains the finish date of the delegation.
Return value
Type: WebSvcResource.UserDelegationDataSet.ResourceDelegationsRow
Remarks
In general, developers should use the AddResourceDelegationsRow overload.
See also
Reference
UserDelegationDataSet.ResourceDelegationsDataTable class
UserDelegationDataSet.ResourceDelegationsDataTable members