Compartir a través de


IndexedColumn Constructor (Index, String, Boolean)

Initializes a new instance of the IndexedColumn class on the specified index and with the specified name and order.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    index As Index, _
    name As String, _
    descending As Boolean _
)
'Uso
Dim index As Index 
Dim name As String 
Dim descending As Boolean 

Dim instance As New IndexedColumn(index, name, _
    descending)
public IndexedColumn(
    Index index,
    string name,
    bool descending
)
public:
IndexedColumn(
    Index^ index, 
    String^ name, 
    bool descending
)
new : 
        index:Index * 
        name:string * 
        descending:bool -> IndexedColumn
public function IndexedColumn(
    index : Index, 
    name : String, 
    descending : boolean
)

Parámetros

  • descending
    Tipo: System.Boolean
    A Boolean value that specifies whether the index is sorted in descending or ascending order.If True, the index is sorted in descending order.If False, the index is sorted in ascending order.

Ejemplos

Crear, modificar y eliminar índices

Vea también

Referencia

IndexedColumn Clase

Sobrecarga de IndexedColumn

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Índices

CREATE INDEX (Transact-SQL)