共用方式為


SPUserCodeService.IsEnabled property

取得值,指出目前的服務已佈建並執行如預期般運作。

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

Syntax

'宣告
Public ReadOnly Property IsEnabled As Boolean
    Get
'用途
Dim instance As SPUserCodeService
Dim value As Boolean

value = instance.IsEnabled
public bool IsEnabled { get; }

Property value

Type: System.Boolean
true如果目前的服務已佈建並執行如預期般運作 ;否則,請false。

請參閱

參照

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace