(SPListItem, SPWorkflowAssociation, String, Guid, SPWorkflowRunOptions) del método SPWorkflowManager.StartWorkflow
Espacio de nombres: Microsoft.SharePoint.Workflow
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public Function StartWorkflow ( _
item As SPListItem, _
association As SPWorkflowAssociation, _
eventData As String, _
correlationId As Guid, _
runOptions As SPWorkflowRunOptions _
) As SPWorkflow
'Uso
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
)
Parámetros
- item
Tipo: Microsoft.SharePoint.SPListItem
- association
Tipo: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
- eventData
Tipo: System.String
- correlationId
Tipo: System.Guid
- runOptions
Tipo: Microsoft.SharePoint.Workflow.SPWorkflowRunOptions
Valor devuelto
Tipo: Microsoft.SharePoint.Workflow.SPWorkflow