Partager via


Propriété Check.CreateDate

Gets the date and time that the check constraint was created.

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 CreateDate As DateTime 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

[!REMARQUE]

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

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)