SPSite.UserDefinedWorkflowsEnabled - Propriété

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

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Property UserDefinedWorkflowsEnabled As Boolean
    Get
    Set
'Utilisation
Dim instance As SPSite
Dim value As Boolean

value = instance.UserDefinedWorkflowsEnabled

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

Valeur de propriété

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

Remarques

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.

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms