Export (0) Print
Expand All

IServerSetupFacet.AgentStartMode Property

 

Applies To: SQL Server 2016 Preview

Gets the start mode for the SQL Server Agent service.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")]
[DisplayNameKeyAttribute("JobServer_ServiceStartModeName")]
ServiceStartMode AgentStartMode { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServiceStartMode

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

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft