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 的硬件和软件要求。