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.
The EnumTargetServers method returns a QueryResults object that enumerates the execution targets of the referenced Microsoft SQL Server Agent job.
A QueryResults object that contains one result set defined by these columns.
When applicable, date and time at which the target server enlisted in the multiserver administration group.
SQL Server message raised in response to last execution.
When applicable, most recent date and time at which the target server polled the master server for new instructions.
When nonzero, date on which execution occurred formatted as described in Remarks.
When nonzero, execution duration expressed as a number of seconds.
Execution outcome interpreted using SQLDMO_JOBOUTCOME_TYPE.
When nonzero, time at which execution occurred formatted as described in Remarks.
System-generated identifier of a target server.
Network name of the server running Microsoft SQL Server.
The result set column last_run_date represents the execution date as a scaled long integer. The integer is built as a sum of the year scaled by 10000, the month scaled by 100, and the day. For example, the date April 19, 1997 is represented by the long integer value 19970419.
The result set column last_run_time represents execution time as a scaled long integer. The integer is built as a sum of the hour scaled by 10000, the minute scaled by 100, and the seconds. The value uses a 24-hour clock. For example, the time 1:03:09 P.M. is represented by the long integer value 130309.