Partager via


SPWorkflowManager.StartWorkflow - Méthode (SPListItem, SPWorkflowAssociation, String, Guid, SPWorkflowRunOptions)

Espace de noms :  Microsoft.SharePoint.Workflow
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function StartWorkflow ( _
    item As SPListItem, _
    association As SPWorkflowAssociation, _
    eventData As String, _
    correlationId As Guid, _
    runOptions As SPWorkflowRunOptions _
) As SPWorkflow
'Utilisation
Dim instance As SPWorkflowManager
Dim item As SPListItem
Dim association As SPWorkflowAssociation
Dim eventData As String
Dim correlationId As Guid
Dim runOptions As SPWorkflowRunOptions
Dim returnValue As SPWorkflow

returnValue = instance.StartWorkflow(item, _
    association, eventData, correlationId, _
    runOptions)
public SPWorkflow StartWorkflow(
    SPListItem item,
    SPWorkflowAssociation association,
    string eventData,
    Guid correlationId,
    SPWorkflowRunOptions runOptions
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.Workflow.SPWorkflow

Voir aussi

Référence

SPWorkflowManager classe

SPWorkflowManager - Membres

StartWorkflow - Surcharge

Microsoft.SharePoint.Workflow - Espace de noms