Index Methods

Index Methods

 

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodAlter()

Updates any Index object property changes on the instance of SQL Server.

System_CAPS_pubmethodAlter(IndexOperation)

Updates any Index object property changes on the instance of SQL Server for a specified index operation.

System_CAPS_pubmethodAlterAllIndexes()

Updates any Index object property changes for all indexes on the instance of SQL Server for a specified index operation.

System_CAPS_pubmethodCheckIndex()

Tests the integrity of database pages that store the index.

System_CAPS_pubmethodCheckIndexWithResult()

Tests the integrity of database pages that store the index.

System_CAPS_pubmethodCreate()

Creates an index on the instance of SQL Server as defined by the Index object.

System_CAPS_pubmethodDisable()

Disables the index.

System_CAPS_pubmethodDiscover()

Discovers a list of type Object.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodDrop()

Drops the index.

System_CAPS_pubmethodDropAndMove(String)

Drops a clustered index and moves the underlying table data to the specified filegroup.

System_CAPS_pubmethodDropAndMove(String, StringCollection)

Drops a clustered index and moves the underlying table data to the partition scheme with the specified partition scheme parameters.

System_CAPS_pubmethodEnable(IndexEnableAction)

Enables the index.

System_CAPS_pubmethodEnumFragmentation()

Enumerates a list of fragmentation information for the index using the default fast fragmentation option.

System_CAPS_pubmethodEnumFragmentation(FragmentationOption)

Enumerates a list of fragmentation information for the index with the specified fragmentation option.

System_CAPS_pubmethodEnumFragmentation(FragmentationOption, Int32)

Enumerates a list of fragmentation information for the index with the specified fragmentation option and partition number.

System_CAPS_pubmethodEnumStatistics()

Enumerates a list of statistical information for the index.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFormatSqlVariant(Object)

Formats an object as T: Microsoft.Data.Schema.Sql.DataGenerator.SqlVariant type.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetContextDB()

Gets the context database that is associated with this object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetDBName()

Gets the database name that is associated with the object.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetPropValue(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetPropValueOptional(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetPropValueOptionalAllowNull(String)

Gets a property value of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_protmethodGetServerObject()

Gets the server of the SqlSmoObject object.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize()

Initializes the object and forces the properties be loaded.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodInitialize(Boolean)

Initializes the object and forces the properties be loaded.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsObjectInitialized()

Verifies whether the object has been initialized.(Inherited from SqlSmoObject.)

System_CAPS_protmethodIsObjectInSpace()

Verifies whether the object is isolated or connected to the instance of SQL Server.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodMarkForDrop(Boolean)

Marks the index to be dropped the next time that the Alter method is run on the Index object's parent object.

System_CAPS_pubmethodRebuild()

Rebuilds the index.

System_CAPS_pubmethodRebuild(Int32)

Rebuilds the index on the partition with the specified partition number.

System_CAPS_pubmethodRebuildAllIndexes()

Rebuilds all the indexes.

System_CAPS_pubmethodRecalculateSpaceUsage()

Updates the disk resource usage of the index.

System_CAPS_pubmethodRecreate()

Re-creates the index.

System_CAPS_pubmethodRefresh()

Refreshes the Index object and its properties.(Overrides ScriptNameObjectBase.Refresh().)

System_CAPS_pubmethodRename(String)

Renames the index.

System_CAPS_pubmethodReorganize()

Reorganizes the index based on current property settings.

System_CAPS_pubmethodReorganizeAllIndexes()

Reorganizes all the indexes based on current property settings.

System_CAPS_pubmethodScript()

Generates a Transact-SQL script that can be used to re-create the index.

System_CAPS_pubmethodScript(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the index as specified by the script options.

System_CAPS_protmethodSetParentImpl(SqlSmoObject)

Sets the parent of the SqlSmoObject to the newParent parameter.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodToString()

Returns a String that represents the referenced object.(Inherited from SqlSmoObject.)

System_CAPS_pubmethodUpdateStatistics()

Updates statistics for the referenced index.

System_CAPS_pubmethodUpdateStatistics(StatisticsScanType)

Updates statistics for the referenced index with the specified statistics scan type.

System_CAPS_pubmethodUpdateStatistics(StatisticsScanType, Int32)

Updates statistics for the referenced index with the specified statistics scan type and specified sample size.

System_CAPS_pubmethodUpdateStatistics(StatisticsScanType, Int32, Boolean)

Updates statistics for the referenced index with the specified statistics scan type and specified sample size and with the option to recompute the statistics.

System_CAPS_pubmethodUpgradeToClusteredColumnStoreIndex()

Upgrades the index to either clustered index or column store index.

System_CAPS_pubmethodValidate(String, Object[])

Validates the state of an object.(Inherited from SmoObjectBase.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.Discover()

Discovers any dependencies.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetDomainRoot()

Returns the root of the domain.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetParent()

Gets the parent of this object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetPropertyType(String)

Gets the type of the specified property.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetPropertyValue(String, Type)

Gets the value of the specified property.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.GetUrn()

Gets the Unified Resource Name (URN) of the object.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.Resolve(String)

Gets the instance that contains the information about the object from the Unified Resource Name (URN) of the object.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.SetObjectState(SfcObjectState)

Sets the object state to the specified SfcObjectState value.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIAlienObject.SetPropertyValue(String, Type, Object)

Sets the property value.(Inherited from SqlSmoObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodISfcPropertyProvider.GetPropertySet()

Gets the interface reference to the set of properties of this object.

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SqlSmoObject.)

Return to top
Show:
© 2016 Microsoft