Udostępnij przez


IServerSetupFacet.AgentStartMode Property

Gets the start mode for the SQL Server Agent service. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")> _
<DisplayNameKeyAttribute("JobServer_ServiceStartModeName")> _
ReadOnly Property AgentStartMode As ServiceStartMode
[DisplayDescriptionKeyAttribute("JobServer_ServiceStartModeDesc")] 
[DisplayNameKeyAttribute("JobServer_ServiceStartModeName")] 
ServiceStartMode AgentStartMode { get; }
[DisplayDescriptionKeyAttribute(L"JobServer_ServiceStartModeDesc")] 
[DisplayNameKeyAttribute(L"JobServer_ServiceStartModeName")] 
property ServiceStartMode AgentStartMode {
    ServiceStartMode get ();
}
/** @property */
ServiceStartMode get_AgentStartMode ()
function get AgentStartMode () : ServiceStartMode

Property Value

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

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.