ServerSetupAdapter.AgentStartMode Property

 

Applies To: SQL Server 2016 Preview

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

public ServiceStartMode AgentStartMode { get; }
public:
property ServiceStartMode AgentStartMode {
    virtual ServiceStartMode get() sealed;
}
abstract AgentStartMode : ServiceStartMode with get
override AgentStartMode : ServiceStartMode with get
Public ReadOnly Property AgentStartMode As ServiceStartMode

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServiceStartMode

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

Implements

IServerSetupFacet.AgentStartMode

Examples

Legacy Code Example

See Also

See Also

ServerSetupAdapter Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top