Freigeben über


Check.DateLastModified-Eigenschaft

Gets the date and time that the check constraint was last modified.

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 DateLastModified As DateTime 
    Get
'Usage
Dim instance As Check 
Dim value As DateTime 

value = instance.DateLastModified
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public DateTime DateLastModified { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property DateTime DateLastModified {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member DateLastModified : DateTime
function get DateLastModified () : DateTime

Eigenschaftswert

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

Hinweise

HinweisHinweis

For check constraints based on the UserDefinedTableType object cannot be modified. This property value is the date and time when the user-defined table type was created, which is returned from the sys.check_constraints table.

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)