Freigeben über


Index-Konstruktor (SqlSmoObject, String)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'Usage
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
)

Parameter

Beispiele

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Index Klasse

Index-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Indizes

CREATE INDEX (Transact-SQL)