Share via


SPUserCodeService.IsEnabled property

Gets a value that indicates whether the current service is provisioned and running as expected.

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

Syntax

'Declaration
Public ReadOnly Property IsEnabled As Boolean
    Get
'Usage
Dim instance As SPUserCodeService
Dim value As Boolean

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

Property value

Type: System.Boolean
true if the current service is provisioned and running as expected; otherwise, false.

See also

Reference

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace