共用方式為


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

其他資源

建立索引 (Database Engine)

說明及資訊

取得 SQL Server 2005 協助