Job Scope Constants (SQLDMO_JOB_TYPE)

SQL-DMO

SQL-DMO

Job Scope Constants (SQLDMO_JOB_TYPE)

Job scope constants specify execution target attributes for Microsoft® SQL Server™ Agent jobs.

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.