Partager via


IndexKeyType propriété

Gets or sets the index key type.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property IndexKeyType As IndexKeyType
    Get
    Set
'Utilisation
Dim instance As Index
Dim value As IndexKeyType

value = instance.IndexKeyType

instance.IndexKeyType = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public IndexKeyType IndexKeyType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property IndexKeyType IndexKeyType {
    IndexKeyType get ();
    void set (IndexKeyType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member IndexKeyType : IndexKeyType with get, set
function get IndexKeyType () : IndexKeyType
function set IndexKeyType (value : IndexKeyType)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .IndexKeyType
An IndexKeyType object value that specifies the type of key on which the index is built, such as a unique key or a primary key.