共用方式為


SPDatabaseServiceInstance.SystemService Property

Gets a Boolean value that specifies whether to allow database services to be stopped through the administration user interface.

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

Syntax

'Declaration
Public Overrides ReadOnly Property SystemService As Boolean
    Get
'Usage
Dim instance As SPDatabaseServiceInstance
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if database services can be stopped through the user interface; otherwise, false.

See Also

Reference

SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

Microsoft.SharePoint.Administration Namespace