Freigeben über


SPSite.UserDefinedWorkflowsEnabled-Eigenschaft

Gets or sets a Boolean value that indicates whether user-defined workflows are enabled.

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

Syntax

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

value = instance.UserDefinedWorkflowsEnabled

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

Eigenschaftswert

Typ: System.Boolean
true if user-defined workflows are enabled; otherwise, false.

Hinweise

This property can be set only by a user with administrative privileges. If a user without administrative privileges attempts to set this property, an error of type UnathorizedAccessException is thrown.

Siehe auch

Referenz

SPSite Klasse

SPSite-Member

Microsoft.SharePoint-Namespace