Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public ReadOnly Property AgentStartMode As ServiceStartMode
Get
'Usage
Dim instance As ServerSetupAdapter
Dim value As ServiceStartMode
value = instance.AgentStartMode
public ServiceStartMode AgentStartMode { get; }
public:
virtual property ServiceStartMode AgentStartMode {
ServiceStartMode get () sealed;
}
abstract AgentStartMode : ServiceStartMode
override AgentStartMode : ServiceStartMode
final function get AgentStartMode () : 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
See Also