Share via


JobSchedule.DateCreated Property

Gets the date and time when the job schedule was created.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property DateCreated As DateTime 
    Get
'Usage
Dim instance As JobSchedule 
Dim value As DateTime 

value = instance.DateCreated
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime DateCreated { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime DateCreated {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member DateCreated : DateTime
function get DateCreated () : DateTime

Property Value

Type: System.DateTime
A DateTime value that specifies the date and time when the job schedule was created.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobSchedule Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_schedule (Transact-SQL)