Freigeben über


Index.Create-Methode

Creates an index on the instance of SQL Server as defined by the Index object.

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

Syntax

'Declaration
Public Sub Create
'Usage
Dim instance As Index

instance.Create()
public void Create()
public:
virtual void Create() sealed
abstract Create : unit -> unit  
override Create : unit -> unit
public final function Create()

Implementiert

ICreatable.Create()

Beispiele

HinweisHinweis

Indexes based partly on the UserDefinedTableType object cannot be created and running this method will generate an exception.

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Index Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Indizes

CREATE INDEX (Transact-SQL)