Condividi tramite


Proprietà ID

Gets the foreign key column ID value.

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
'Utilizzo
Dim instance As ForeignKeyColumn
Dim value As Integer

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

Valore proprietà

Tipo: System. . :: . .Int32
An Int32 value that specifies the foreign key column ID value.

Osservazioni

This property corresponds to the foreign key column ID value held in the system tables.