Udostępnij przez


ServerSetupAdapter.AgentStartMode Property

Gets or sets the start mode for the SQL Server Agent service.

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

Syntax

'Deklaracja
Public ReadOnly Property AgentStartMode As ServiceStartMode
public ServiceStartMode AgentStartMode { get; }
public:
virtual property ServiceStartMode AgentStartMode {
    ServiceStartMode get () sealed;
}
/** @property */
public final ServiceStartMode get_AgentStartMode ()
public final function get AgentStartMode () : ServiceStartMode

Property Value

A ServiceStartMode object 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.