IServerSetupFacet.AgentStartMode IServerSetupFacet.AgentStartMode IServerSetupFacet.AgentStartMode Property

Definition

Gets the start mode for the SQL Server Agent service.

public:
 property Microsoft::SqlServer::Management::Smo::ServiceStartMode AgentStartMode { Microsoft::SqlServer::Management::Smo::ServiceStartMode get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayDescriptionKey("JobServer_ServiceStartModeDesc")]
[Microsoft.SqlServer.Management.Sdk.Sfc.DisplayNameKey("JobServer_ServiceStartModeName")]
public Microsoft.SqlServer.Management.Smo.ServiceStartMode AgentStartMode { get; }
Public ReadOnly Property AgentStartMode As ServiceStartMode
Property Value

A ServiceStartMode value that specifies the start mode for the SQL Server Agent service.

Examples

Setting Properties

Applies to