WorkflowInstanceService.StartWorkflowOnListItem método
Namespace: Microsoft.SharePoint.Client.WorkflowServices
Assembly: Microsoft.SharePoint.Client.WorkflowServices (em Microsoft.SharePoint.Client.WorkflowServices.dll)
Sintaxe
'Declaração
Public Overridable Function StartWorkflowOnListItem ( _
subscription As WorkflowSubscription, _
itemId As Integer, _
payload As IDictionary(Of String, Object) _
) As ClientResult(Of Guid)
'Uso
Dim instance As WorkflowInstanceService
Dim subscription As WorkflowSubscription
Dim itemId As Integer
Dim payload As IDictionary(Of String, Object)
Dim returnValue As ClientResult(Of Guid)
returnValue = instance.StartWorkflowOnListItem(subscription, _
itemId, payload)
public virtual ClientResult<Guid> StartWorkflowOnListItem(
WorkflowSubscription subscription,
int itemId,
IDictionary<string, Object> payload
)
Parâmetros
- subscription
Tipo: Microsoft.SharePoint.Client.WorkflowServices.WorkflowSubscription
- itemId
Tipo: System.Int32
- payload
Tipo: System.Collections.Generic.IDictionary<String, Object>
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<Guid>
Ver também
Referência
WorkflowInstanceService classe