Server.ServiceStartMode Property
SQL Server 2012
Gets the start mode for the SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)] public ServiceStartMode ServiceStartMode { get; }
Property Value
Type: Microsoft.SqlServer.Management.Smo.ServiceStartModeA ServiceStartMode value that contains information about the SQL Server service start mode.
