共用方式為


SPWebApplication.UserDefinedWorkflowsEnabled property

取得或設定 Boolean 值,指定使用者是否可以在 Web 應用程式中建立工作流程。

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

Syntax

'宣告
Public Property UserDefinedWorkflowsEnabled As Boolean
    Get
    Set
'用途
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如果允許使用者建立工作流程 ;否則,請false。預設值為true。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace