Dela via


Policy.CreateDate Property

Gets the date and time when the policy was created.

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

Syntax

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

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

Property Value

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