Compartir a través de


Check.ID Propiedad

Gets the database ID value that uniquely identifies the check constraint.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ID As Integer 
    Get
'Uso
Dim instance As Check 
Dim value As Integer 

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

Valor de la propiedad

Tipo: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the check constraint.

Comentarios

This property corresponds to the check constraint ID value held in the system tables.

Ejemplos

Establecer propiedades

Vea también

Referencia

Check Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Trabajar con objetos de bases de datos

Restricciones CHECK

CREATE TABLE (Transact-SQL)