This documentation is archived and is not being maintained.

Creating, Altering, and Removing Indexes

In the SQL Server Management Objects (SMO) hierarchy, indexes are represented by the Index object. The indexed columns are represented by a collection of IndexedColumn objects represented by the IndexedColumns property.

You can create an index on a XML column by specifying the IsXmlIndex property of the Index object.

Show: