Udostępnij przez


IServerSetupFacet.ServiceStartMode Property

Gets the start mode for the SQL Server service. This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")> _
<DisplayNameKeyAttribute("Server_ServiceStartModeName")> _
ReadOnly Property ServiceStartMode As ServiceStartMode
[DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")] 
[DisplayNameKeyAttribute("Server_ServiceStartModeName")] 
ServiceStartMode ServiceStartMode { get; }
[DisplayDescriptionKeyAttribute(L"Server_ServiceStartModeDesc")] 
[DisplayNameKeyAttribute(L"Server_ServiceStartModeName")] 
property ServiceStartMode ServiceStartMode {
    ServiceStartMode get ();
}
/** @property */
ServiceStartMode get_ServiceStartMode ()
function get ServiceStartMode () : ServiceStartMode

Property Value

A ServiceStartMode value that specifies the start mode for the SQL Server service.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.