The Type property exposes configured attributes of the referenced Microsoft® SQL Server™ 2000 component.
object.Type [= value]
object
Expression that evaluates to an object in the Applies To list
value
Long integer that specifies SQL Server Agent job attributes as described in Settings
Long, enumerated
Read-only for the Job object. Read/write for the JobFilter object.
HRESULT GetType(SQLDMO_JOB_TYPE* pRetVal)
HRESULT SetType(SQLDMO_JOB_TYPE NewValue)
Constant | Value | Description |
---|---|---|
SQLDMOJob_Local | 1 | Job will execute on an instance of SQL Server on which the job is stored. |
SQLDMOJob_MultiServer | 2 | Job will execute on one or more target servers. |
SQLDMOJob_Unknown | 0 | Job is bad or invalid. |
Set the Type property of the JobFilter object to control result set membership when using the EnumJobs method of the JobServer object.