Index.Create Method ()


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)

No code example is currently available or this language may not be supported.


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

Creating, Altering, and Removing Indexes

Return to top