WorkflowDeploymentService.SaveDefinition method
Saves a SharePoint workflow definition to the workflow store.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function SaveDefinition ( _
definition As WorkflowDefinition _
) As Guid
'Usage
Dim instance As WorkflowDeploymentService
Dim definition As WorkflowDefinition
Dim returnValue As Guid
returnValue = instance.SaveDefinition(definition)
[ClientCallableMethodAttribute]
public abstract Guid SaveDefinition(
WorkflowDefinition definition
)
Parameters
definition
Type: Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionThe workflow definition to save.
Return value
Type: System.Guid
Returns the unique guid identifier of the workflow definition in the workflow store.
See also
Reference
WorkflowDeploymentService class