Check.DateLastModified Property

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

Property Value

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

Remarks

Note

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.