Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the start mode for the SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Server_ServiceStartModeName")> _
<DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")> _
ReadOnly Property ServiceStartMode As ServiceStartMode
Get
'Usage
Dim instance As IServerSetupFacet
Dim value As ServiceStartMode
value = instance.ServiceStartMode
[DisplayNameKeyAttribute("Server_ServiceStartModeName")]
[DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")]
ServiceStartMode ServiceStartMode { get; }
[DisplayNameKeyAttribute(L"Server_ServiceStartModeName")]
[DisplayDescriptionKeyAttribute(L"Server_ServiceStartModeDesc")]
property ServiceStartMode ServiceStartMode {
ServiceStartMode get ();
}
[<DisplayNameKeyAttribute("Server_ServiceStartModeName")>]
[<DisplayDescriptionKeyAttribute("Server_ServiceStartModeDesc")>]
abstract ServiceStartMode : ServiceStartMode
function get ServiceStartMode () : ServiceStartMode
Property Value
Type: Microsoft.SqlServer.Management.Smo.ServiceStartMode
A ServiceStartMode value that specifies the start mode for the SQL Server service.