JobServer.ServiceStartMode Property
Gets the mode used to start the SQL Server Agent service.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceStartMode As ServiceStartMode
[SfcPropertyAttribute]
public ServiceStartMode ServiceStartMode { get; }
[SfcPropertyAttribute]
public:
property ServiceStartMode ServiceStartMode {
ServiceStartMode get ();
}
/** @property */
public ServiceStartMode get_ServiceStartMode ()
public function get ServiceStartMode () : ServiceStartMode
Property Value
A ServiceStartMode value that specifies the way that the SQL Server Agent service is started.
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.