Condividi tramite


Proprietà JobFilter.DateJobCreated

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the job was created.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Property DateJobCreated As DateTime 
    Get 
    Set
'Utilizzo
Dim instance As JobFilter 
Dim value As DateTime 

value = instance.DateJobCreated

instance.DateJobCreated = value
public DateTime DateJobCreated { get; set; }
public:
property DateTime DateJobCreated {
    DateTime get ();
    void set (DateTime value);
}
member DateJobCreated : DateTime with get, set
function get DateJobCreated () : DateTime 
function set DateJobCreated (value : DateTime)

Valore proprietà

Tipo: System.DateTime
A DateTime object value that specifies the date the job was created.

Osservazioni

A job filter can be applied to the JobServer object's EnumJobs method to restrict the returned enumerated list. When the constraint is a date property such as DateJobCreated, the FindOperand is used to specify whether the enumerated list is restricted to jobs created on an earlier, later, or equal date.

Esempi

Pianificazione delle attività amministrative automatiche in SQL Server Agent

Vedere anche

Riferimento

JobFilter Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent

Altre risorse

Automatizzazione delle attività amministrative (SQL Server Agent)