Partager via


UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow - Méthode (Guid, Guid, String, Guid, String, DateTime, DateTime)

Ajoute un objet de ResourceDelegationsRow à l' ResourceDelegationsDataTable à l'aide des paramètres distincts.

Espace de noms :  WebSvcResource
Assembly :  ProjectServerServices (dans ProjectServerServices.dll)

Syntaxe

'Déclaration
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
'Utilisation
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
)

Paramètres

  • DELEGATION_UID
    Type : System.Guid

    Contient la GUID de la délégation.

  • RES_UID
    Type : System.Guid

    Contient le GUID de ressource.

  • RES_NAME
    Type : System.String

    Contient le nom de la ressource.

  • DELEGATE_UID
    Type : System.Guid

    Contient le GUID de délégué.

  • DELEGATE_NAME
    Type : System.String

    Contient le nom du délégué.

  • DELEGATION_START
    Type : System.DateTime

    Contient la date de début de la délégation.

  • DELEGATION_FINISH
    Type : System.DateTime

    Contient la date de fin de la délégation.

Valeur renvoyée

Type : WebSvcResource.UserDelegationDataSet.ResourceDelegationsRow

Remarques

En règle générale, les développeurs doivent utiliser la surcharge AddResourceDelegationsRow .

Voir aussi

Référence

UserDelegationDataSet.ResourceDelegationsDataTable classe

UserDelegationDataSet.ResourceDelegationsDataTable - Membres

AddResourceDelegationsRow - Surcharge

WebSvcResource - Espace de noms