AutoStart Property (SQL-DMO)

The AutoStart property exposes default agent service behavior when an operating system start occurs.

Applies To

JobServer Object

Syntax

object.AutoStart [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, the agent service attempts to start when the operating system starts.

If False, the agent service is not launched as part of an operating system start. The agent service must be started manually.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetAutoStart(LPBOOL pRetVal);

HRESULT SetAutoStart(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.