Share via


ServerAuditSpecification.CreateDate Property

Gets the date and time when the server audit specification was created.

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

Syntax

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

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

Property Value

Type: System.DateTime
A DateTime system object value that specifies the time and date when the server audit specification was created.