Compartir a través de


Index Constructor (SqlSmoObject, String)

Initializes a new instance of the Index class on the specified parent object and with the specified name.

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

Sintaxis

'Declaración
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'Uso
Dim parent As SqlSmoObject 
Dim name As String 

Dim instance As New Index(parent, _
    name)
public Index(
    SqlSmoObject parent,
    string name
)
public:
Index(
    SqlSmoObject^ parent, 
    String^ name
)
new : 
        parent:SqlSmoObject * 
        name:string -> Index
public function Index(
    parent : SqlSmoObject, 
    name : String
)

Parámetros

Ejemplos

Crear, modificar y eliminar índices

Vea también

Referencia

Index Clase

Sobrecarga de Index

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Índices

CREATE INDEX (Transact-SQL)