Propriété Check.DateLastModified

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property DateLastModified As DateTime 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

[!REMARQUE]

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.

Exemples

Définition de propriétés

Voir aussi

Référence

Check Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des objets de base de données

Contraintes CHECK

CREATE TABLE (Transact-SQL)