VersionNumber Property

SQL-DMO

SQL-DMO

VersionNumber Property

The VersionNumber property returns a system-maintained change-tracking indicator for the referenced job.

Applies To
Job Object
Syntax

object.VersionNumber

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetVersionNumber(LPLONG pRetVal);

Remarks

Saving any change to the referenced job, or its steps and schedules, versions the job. Job versioning can be part of simple logic verifying correct versions for multiserver administration targets.