Partilhar via


NextRunScheduleID Property

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 NextRunScheduleID property returns the system-generated identifier for the schedule determining the next execution date of a SQL Server Agent job.

Syntax

object
.NextRunScheduleID

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetNextRunScheduleID(LPLONG pRetVal);

Applies To:

Job Object