共用方式為


SPServiceInstance.SystemService Property

Gets a Boolean value that indicates whether the service is a system service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable ReadOnly Property SystemService As Boolean
    Get
'Usage
Dim instance As SPServiceInstance
Dim value As Boolean

value = instance.SystemService
public virtual bool SystemService { get; }

Property Value

Type: System.Boolean
true if the service is a system service; otherwise, false.

Remarks

System services cannot be started or stopped through the user interface in SharePoint Central Administration.

See Also

Reference

SPServiceInstance Class

SPServiceInstance Members

Microsoft.SharePoint.Administration Namespace