共用方式為


ServiceStartMode Enumeration

The ServiceStartMode enumeration contains values that are used to specify the method used to start the SQL Server service.

命名空間: Microsoft.SqlServer.Management.Smo.Wmi
組件: Microsoft.SqlServer.WmiEnum (in microsoft.sqlserver.wmienum.dll)

語法

'宣告
Public Enumeration ServiceStartMode
public enum ServiceStartMode
public enum class ServiceStartMode
public enum ServiceStartMode
public enum ServiceStartMode

Members

Member name Description
Auto The SQL Server service is started automatically.
Boot The SQL Server service is started when the system is started.
Disabled The SQL Server service is disabled and cannot be started.
Manual The SQL Server service is started manually.
System The SQL Server service is started by the system.

備註

The ServiceStartMode enumerated class is served by the ServiceStartMode property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo.Wmi Namespace