Udostępnij przez


Właściwość ObjectProperty.KeyIndex

Pobiera lub ustawia właściwość indeks klucz.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Property KeyIndex As Short
    Get
    Set
'Użycie
Dim instance As ObjectProperty
Dim value As Short

value = instance.KeyIndex

instance.KeyIndex = value
public short KeyIndex { get; set; }
public:
property short KeyIndex {
    short get ();
    void set (short value);
}
member KeyIndex : int16 with get, set
function get KeyIndex () : short
function set KeyIndex (value : short)

Wartość właściwości

Typ: System.Int16
Wartość, która reprezentuje właściwość Indeks klucz.