Share via


WorkflowDefinition.Published property

Boolean value that specifies whether the workflow definition has been published to the cloud or remains locally, saved to the SharePoint server.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False)> _
Public Property Published As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowDefinition
Dim value As Boolean

value = instance.Published

instance.Published = value
[ClientCallablePropertyAttribute(SetProperty = false)]
public bool Published { get; set; }

Property value

Type: System.Boolean
Returns true if the workflow definition has been published to the cloud. Otherwise, returns false.

See also

Reference

WorkflowDefinition class

WorkflowDefinition members

Microsoft.SharePoint.WorkflowServices namespace