IServerSetupFacet.ServiceStartMode Property
Applies To: SQL Server 2016 Preview
Gets the start mode for the SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")]
[DisplayNameKeyAttribute("Server_ServiceStartModeName")]
ServiceStartMode ServiceStartMode { get; }
[DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")]
[DisplayNameKeyAttribute("Server_ServiceStartModeName")]
property ServiceStartMode ServiceStartMode {
ServiceStartMode get();
}
[<DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")>]
[<DisplayNameKeyAttribute("Server_ServiceStartModeName")>]
abstract ServiceStartMode : ServiceStartMode with get
<DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")>
<DisplayNameKeyAttribute("Server_ServiceStartModeName")>
ReadOnly Property ServiceStartMode As ServiceStartMode
Property Value
Type: Microsoft.SqlServer.Management.Smo.ServiceStartMode
A ServiceStartMode value that specifies the start mode for the SQL Server service.
Examples
Legacy Code Example
See Also
IServerSetupFacet Interface
Microsoft.SqlServer.Management.Smo Namespace
Return to top