Freigeben über


DefaultConstraint.CreateDate-Eigenschaft

Gets the date when the default 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 DefaultConstraint 
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 object value that specifies the date when the default constraint was created.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

DefaultConstraint Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Erzwingen der Datenintegrität