JobServer.SqlAgentAutoStart Property

 

Gets or sets the Boolean property value that specifies whether SQL Server Agent is automatically started.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool SqlAgentAutoStart { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether SQL Server Agent is automatically started.

If True, SQL Server Agent is automatically started.

If False, (default), SQL Server Agent is not automatically restarted.

Return to top
Show: