SPWebApplication.UserDefinedWorkflowsEnabled Property

Gets or sets a Boolean value specifying whether users can create workflows in the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UserDefinedWorkflowsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.UserDefinedWorkflowsEnabled

instance.UserDefinedWorkflowsEnabled = value
public bool UserDefinedWorkflowsEnabled { get; set; }

Property Value

Type: System.Boolean
true if users are allowed to create workflows; otherwise, false. The default value is true.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace