请单击以进行评分并提供反馈

  开启低带宽视图
社区内容
本节内容
统计 批注 (0)
同时提供下列产品的其他版本:
Index Class

The Index object represents a SQL Server index.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Visual Basic (Declaration)
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class Index
    Inherits ScriptNameObjectBase
    Implements ICreatable, IDroppable, IMarkForDrop, IAlterable, _
    IRenamable, IExtendedProperties, IScriptable
C#
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)] 
[PhysicalFacetAttribute] 
public sealed class Index : ScriptNameObjectBase, ICreatable, IDroppable, IMarkForDrop, 
    IAlterable, IRenamable, IExtendedProperties, IScriptable
C++
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)] 
[PhysicalFacetAttribute] 
public ref class Index sealed : public ScriptNameObjectBase, ICreatable, IDroppable, IMarkForDrop, 
    IAlterable, IRenamable, IExtendedProperties, IScriptable
J#
/** @attribute EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule) */ 
/** @attribute PhysicalFacetAttribute() */ 
public final class Index extends ScriptNameObjectBase implements ICreatable, IDroppable, 
    IMarkForDrop, IAlterable, IRenamable, IExtendedProperties, IScriptable
JScript
EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule) 
PhysicalFacetAttribute 
public final class Index extends ScriptNameObjectBase implements ICreatable, IDroppable, 
    IMarkForDrop, IAlterable, IRenamable, IExtendedProperties, IScriptable

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


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.

开发平台

有关支持的平台的列表,请参阅安装 SQL Server 的硬件和软件要求

Target Platforms

有关支持的平台的列表,请参阅安装 SQL Server 的硬件和软件要求
社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker