PhaseCollection.GetById - Méthode
Obtient une phase de flux de travail à 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 Phase
'Utilisation
Dim instance As PhaseCollection
Dim objectId As String
Dim returnValue As Phase
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public Phase GetById(
string objectId
)
Paramètres
objectId
Type : System.StringLa représentation sous forme de chaîne de la phase de flux de travail GUID.
Valeur renvoyée
Type : Microsoft.ProjectServer.Client.Phase
Un objet WorkflowPhase .