Service.StartMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the method by which the SQL Server service is started.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ServiceStartMode StartMode { Microsoft::SqlServer::Management::Smo::Wmi::ServiceStartMode get(); void set(Microsoft::SqlServer::Management::Smo::Wmi::ServiceStartMode value); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServiceStartMode StartMode { get; set; }
member this.StartMode : Microsoft.SqlServer.Management.Smo.Wmi.ServiceStartMode with get, set
Public Property StartMode As ServiceStartMode
Property Value
Microsoft.SqlServer.Management.Smo.Wmi.ServiceStartMode
A Microsoft.SqlServer.Management.Smo.Wmi.ServiceStartMode object value that specifies the method by which the service is started.
Examples
Managing Services and Network Settings by Using WMI Provider