SPSite.UserDefinedWorkflowsEnabled 属性

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

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property UserDefinedWorkflowsEnabled As Boolean
    Get
    Set
用法
Dim instance As SPSite
Dim value As Boolean

value = instance.UserDefinedWorkflowsEnabled

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

属性值

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

备注

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.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间