Job Scope Constants (SQLDMO_JOB_TYPE)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
Job scope constants specify execution target attributes for SQL Server Agent jobs.
Constant |
Value |
Description |
|---|---|---|
SQLDMOJob_Local |
1 |
The job runs on an instance of Microsoft SQL Server on which the job is stored. |
SQLDMOJob_MultiServer |
2 |
The job runs on one or more target servers. |
SQLDMOJob_Unknown |
0 |
The job is not valid. |