UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow método (Guid, Guid, String, Guid, String, DateTime, DateTime)
Adiciona um objeto de ResourceDelegationsRow para o ResourceDelegationsDataTable usando parâmetros separados.
Namespace: WebSvcResource
Assembly: ProjectServerServices (em ProjectServerServices.dll)
Sintaxe
'Declaração
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.GuidContém a GUID de delegação.
RES_UID
Tipo: System.GuidContém o GUID do recurso.
RES_NAME
Tipo: System.StringContém o nome do recurso.
DELEGATE_UID
Tipo: System.GuidContém o GUID do delegado.
DELEGATE_NAME
Tipo: System.StringContém o nome do representante.
DELEGATION_START
Tipo: System.DateTimeContém a data de início da delegação.
DELEGATION_FINISH
Tipo: System.DateTimeContém a data de término da delegação.
Valor retornado
Tipo: WebSvcResource.UserDelegationDataSet.ResourceDelegationsRow
Comentários
Em geral, os desenvolvedores devem usar a sobrecarga de AddResourceDelegationsRow .
Ver também
Referência
UserDelegationDataSet.ResourceDelegationsDataTable classe
UserDelegationDataSet.ResourceDelegationsDataTable membros