Compartir a través de


Index.IndexKeyType Property

Gets or sets the index key type.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property IndexKeyType As IndexKeyType
public IndexKeyType IndexKeyType { get; set; }
public:
property IndexKeyType IndexKeyType {
    IndexKeyType get ();
    void set (IndexKeyType value);
}
/** @property */
public IndexKeyType get_IndexKeyType ()

/** @property */
public void set_IndexKeyType (IndexKeyType value)
public function get IndexKeyType () : IndexKeyType

public function set IndexKeyType (value : IndexKeyType)

Valor de propiedad

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.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Creating, Altering, and Removing Indexes
Índices
CREATE INDEX (Transact-SQL)