Condividi tramite


Proprietà Column.ID

Gets the column ID that uniquely identifies the column.

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 ID As Integer 
    Get
'Utilizzo
Dim instance As Column 
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

Valore proprietà

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

Esempi

Utilizzo degli oggetti di database

Vedere anche

Riferimento

Column Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

sys.columns (Transact-SQL)