Свойство JobHistoryFilter.OldestFirst

Gets or sets the Boolean property value that specifies whether the jobs are listed in oldest-first order or in newest-first order.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Property OldestFirst As Boolean 
    Get 
    Set
'Применение
Dim instance As JobHistoryFilter 
Dim value As Boolean 

value = instance.OldestFirst

instance.OldestFirst = value
public bool OldestFirst { get; set; }
public:
property bool OldestFirst {
    bool get ();
    void set (bool value);
}
member OldestFirst : bool with get, set
function get OldestFirst () : boolean 
function set OldestFirst (value : boolean)

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether the jobs are listed in oldest-first or newest-first order.If True, the jobs are listed with the oldest job first.If False (default), the jobs are listed with the most recent job first.

Замечания

The job history filter can be used to restrict the list returned by the JobServer object's EnumJobHistory method to jobs.

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

JobHistoryFilter Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)