Share via


Check.CreateDate Property

Gets the date and time that the check constraint was created.

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

Syntax

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

value = instance.CreateDate
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public DateTime CreateDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property DateTime CreateDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
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 check constraint was created.

Remarks

Note

  For check constraints based on the UserDefinedTableType object this value is the date and time when the user-defined table type was created.

Examples

Setting Properties

See Also

Reference

Check Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Database Objects

CHECK Constraints

CREATE TABLE (Transact-SQL)