Condividi tramite


Proprietà Check.CreateDate

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property CreateDate As DateTime 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

[!NOTA]

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

Esempi

Impostazione delle proprietà

Vedere anche

Riferimento

Check Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Utilizzo degli oggetti di database

Vincoli CHECK

CREATE TABLE (Transact-SQL)