Partager via


TimeSheetWorkCollection.GetById - Méthode

Obtient un objet de travail réel de feuille de temps à partir de la collection avec la valeur Id() .

Espace de noms :  Microsoft.ProjectServer.Client
Assembly :  Microsoft.ProjectServer.Client (dans Microsoft.ProjectServer.Client.dll)

Syntaxe

'Déclaration
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As TimeSheetWork
'Utilisation
Dim instance As TimeSheetWorkCollection
Dim objectId As String
Dim returnValue As TimeSheetWork

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetWork GetById(
    string objectId
)

Paramètres

  • objectId
    Type : System.String

    La représentation sous forme de chaîne d'une feuille de temps effectif de travail GUID.

Valeur renvoyée

Type : Microsoft.ProjectServer.Client.TimeSheetWork
Un objet TimesheetWork .

Voir aussi

Référence

TimeSheetWorkCollection classe

TimeSheetWorkCollection - Membres

Microsoft.ProjectServer.Client - Espace de noms