(Guid, Guid, String, Guid, String, DateTime, DateTime) del método UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow
Agrega un objeto de ResourceDelegationsRow a la ResourceDelegationsDataTable con parámetros independientes.
Espacio de nombres: WebSvcResource
Ensamblado: ProjectServerServices (en ProjectServerServices.dll)
Sintaxis
'Declaración
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
'Uso
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
)
Parámetros
DELEGATION_UID
Tipo: System.GuidContiene el GUID de la delegación.
RES_UID
Tipo: System.GuidContiene el GUID del recurso.
RES_NAME
Tipo: System.StringContiene el nombre del recurso.
DELEGATE_UID
Tipo: System.GuidContiene el GUID del delegado.
DELEGATE_NAME
Tipo: System.StringContiene el nombre del delegado.
DELEGATION_START
Tipo: System.DateTimeContiene la fecha de comienzo de la delegación.
DELEGATION_FINISH
Tipo: System.DateTimeContiene la fecha de fin de la delegación.
Valor devuelto
Tipo: WebSvcResource.UserDelegationDataSet.ResourceDelegationsRow
Comentarios
En general, los desarrolladores deben usar la sobrecarga de AddResourceDelegationsRow .
Vea también
Referencia
clase UserDelegationDataSet.ResourceDelegationsDataTable
Miembros UserDelegationDataSet.ResourceDelegationsDataTable