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.

请参阅

任务

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET
How to: Create an XML Index in Visual Basic .NET

参考

Index

其他资源

创建索引(数据库引擎)

帮助和信息

获取 SQL Server 2005 帮助