WorkflowDeploymentService.SaveDefinition method
Namespace: Microsoft.SharePoint.Client.WorkflowServices
Assembly: Microsoft.SharePoint.Client.WorkflowServices (in Microsoft.SharePoint.Client.WorkflowServices.dll)
Syntax
'Declaration
Public Overridable Function SaveDefinition ( _
definition As WorkflowDefinition _
) As ClientResult(Of Guid)
'Usage
Dim instance As WorkflowDeploymentService
Dim definition As WorkflowDefinition
Dim returnValue As ClientResult(Of Guid)
returnValue = instance.SaveDefinition(definition)
public virtual ClientResult<Guid> SaveDefinition(
WorkflowDefinition definition
)
Parameters
- definition
Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowDefinition
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Guid>
See also
Reference
WorkflowDeploymentService class