WorkflowInstanceService.GetInstance - Méthode
Obtient une instance de workflow à partir des magasins d'instances de workflow externe par l'id spécifiée.
Espace de noms : Microsoft.SharePoint.WorkflowServices
Assembly : Microsoft.SharePoint.WorkflowServicesBase (dans Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntaxe
'Déclaration
<ClientCallableMethodAttribute> _
Public MustOverride Function GetInstance ( _
instanceId As Guid _
) As WorkflowInstance
'Utilisation
Dim instance As WorkflowInstanceService
Dim instanceId As Guid
Dim returnValue As WorkflowInstance
returnValue = instance.GetInstance(instanceId)
[ClientCallableMethodAttribute]
public abstract WorkflowInstance GetInstance(
Guid instanceId
)
Paramètres
instanceId
Type : System.GuidL'id d'instance de workflow.
Valeur renvoyée
Type : Microsoft.SharePoint.WorkflowServices.WorkflowInstance
L'instance de workflow ou null si non trouvé.
Voir aussi
Référence
WorkflowInstanceService classe