Rule.CreateDate Property

Gets the time and date when the rule 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 Rule 
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 rule was created.

Examples

Creating, Altering, and Removing Rules

See Also

Reference

Rule Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Rules

CREATE RULE (Transact-SQL)