Freigeben über


Check.CreateDate-Eigenschaft

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

Eigenschaftswert

Typ: System.DateTime
A DateTime system object value that specifies the date and time when the check constraint was created.

Hinweise

HinweisHinweis

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

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

Check Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Arbeiten mit Datenbankobjekten

CHECK-Einschränkungen

CREATE TABLE (Transact-SQL)