The
Index object represents a SQL Server index.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

注释
To get Index object properties, users can be a member of the public fixed server role.
To set Index object properties, create or drop an index, update statistics on an index, or rebuild, reorganize, or re-create an index, users must have one of the following:
-
ALTER permission on the parent table or view
-
Membership of the db_owner or the db_ddladmin fixed database roles
-
Membership of the sysadmin fixed server role

Inheritance Hierarchy

示例

线程安全
Any public static (
Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

请参阅