Share via


UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow Method (Guid, Guid, String, Guid, String, DateTime, DateTime)

Adds a ResourceDelegationsRow object to the ResourceDelegationsDataTable 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 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.Guid
    Contains the delegation GUID.
  • RES_UID
    Type: System.Guid
    Contains the resource GUID.
  • DELEGATE_UID
    Type: System.Guid
    Contains the delegate GUID.
  • DELEGATION_START
    Type: System.DateTime
    Contains the start date of the delegation.
  • DELEGATION_FINISH
    Type: System.DateTime
    Contains the finish date of the delegation.

Return Value

Type: [Resource Web service].UserDelegationDataSet.ResourceDelegationsRow

Remarks

In general, developers should use the AddResourceDelegationsRow overload.

See Also

Reference

UserDelegationDataSet.ResourceDelegationsDataTable Class

UserDelegationDataSet.ResourceDelegationsDataTable Members

AddResourceDelegationsRow Overload

Resource Web Service