Ce sujet n'a pas encore été évalué - Évaluez ce sujet

Méthodes Index

Le type Index expose les membres suivants.

  Nom Description
Méthode publique Alter() Updates any Index object property changes on the instance of SQL Server.
Méthode publique Alter(IndexOperation) Updates any Index object property changes on the instance of SQL Server for a specified index operation.
Méthode publique AlterAllIndexes Updates any Index object property changes for all indexes on the instance of SQL Server for a specified index operation.
Méthode publique CheckIndex Tests the integrity of database pages that store the index.
Méthode publique CheckIndexWithResult Tests the integrity of database pages that store the index.
Méthode publique Create Creates an index on the instance of SQL Server as defined by the Index object.
Méthode publique Disable Disables the index.
Méthode publique Discover Discovers a list of type Object. (hérité de SqlSmoObject.)
Méthode publique Drop Drops the index.
Méthode publique DropAndMove(String) Drops a clustered index and moves the underlying table data to the specified filegroup.
Méthode publique DropAndMove(String, StringCollection) Drops a clustered index and moves the underlying table data to the partition scheme with the specified partition scheme parameters.
Méthode publique Enable Enables the index.
Méthode publique EnumFragmentation() Enumerates a list of fragmentation information for the index using the default fast fragmentation option.
Méthode publique EnumFragmentation(FragmentationOption) Enumerates a list of fragmentation information for the index with the specified fragmentation option.
Méthode publique EnumFragmentation(FragmentationOption, Int32) Enumerates a list of fragmentation information for the index with the specified fragmentation option and partition number.
Méthode publique EnumStatistics Enumerates a list of statistical information for the index.
Méthode publique Equals (hérité de Object.)
Méthode protégée FormatSqlVariant Formats an object as SqlVariant type. (hérité de SqlSmoObject.)
Méthode protégée GetContextDB Gets the context database that is associated with this object. (hérité de SqlSmoObject.)
Méthode protégée GetDBName Gets the database name that is associated with the object. (hérité de SqlSmoObject.)
Méthode publique GetHashCode (hérité de Object.)
Méthode protégée GetPropValue Gets a property value of the SqlSmoObject object. (hérité de SqlSmoObject.)
Méthode protégée GetPropValueOptional Gets a property value of the SqlSmoObject object. (hérité de SqlSmoObject.)
Méthode protégée GetPropValueOptionalAllowNull Gets a property value of the SqlSmoObject object. (hérité de SqlSmoObject.)
Méthode protégée GetServerObject Gets the server of the SqlSmoObject object. (hérité de SqlSmoObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique Initialize() Initializes the object and forces the properties be loaded. (hérité de SqlSmoObject.)
Méthode publique Initialize(Boolean) Initializes the object and forces the properties be loaded. (hérité de SqlSmoObject.)
Méthode protégée IsObjectInitialized Verifies whether the object has been initialized. (hérité de SqlSmoObject.)
Méthode protégée IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (hérité de SqlSmoObject.)
Méthode publique MarkForDrop Marks the index to be dropped the next time that the Alter method is run on the Index object's parent object.
Méthode publique Rebuild() Rebuilds the index.
Méthode publique Rebuild(Int32) Rebuilds the index on the partition with the specified partition number.
Méthode publique RebuildAllIndexes Rebuilds all the indexes.
Méthode publique RecalculateSpaceUsage Updates the disk resource usage of the index.
Méthode publique Recreate Re-creates the index.
Méthode publique Refresh Refreshes the Index object and its properties. (remplace ScriptNameObjectBase.Refresh().)
Méthode publique Rename Renames the index.
Méthode publique Reorganize Reorganizes the index based on current property settings.
Méthode publique ReorganizeAllIndexes Reorganizes all the indexes based on current property settings.
Méthode publique Script() Generates a Transact-SQL script that can be used to re-create the index.
Méthode publique Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the index as specified by the script options.
Méthode protégée SetParentImpl Sets the parent of the SqlSmoObject to the newParent parameter. (hérité de SqlSmoObject.)
Méthode publique ToString Returns a String that represents the referenced object. (hérité de SqlSmoObject.)
Méthode publique UpdateStatistics() Updates statistics for the referenced index.
Méthode publique UpdateStatistics(StatisticsScanType) Updates statistics for the referenced index with the specified statistics scan type.
Méthode publique UpdateStatistics(StatisticsScanType, Int32) Updates statistics for the referenced index with the specified statistics scan type and specified sample size.
Méthode publique UpdateStatistics(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.
Méthode publique Validate Validates the state of an object. (hérité de SmoObjectBase.)
Haut de la page
  Nom Description
Implémentation d'interface explicite Méthode privée IAlienObject.Discover Discovers any dependencies. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.GetDomainRoot Returns the root of the domain. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.GetParent Gets the parent of this object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.GetPropertyType Gets the type of the specified property. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.GetPropertyValue Gets the value of the specified property. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.GetUrn Gets the Unified Resource Name (URN) of the object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.Resolve Gets the instance that contains the information about the object from the Unified Resource Name (URN) of the object. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.SetObjectState Sets the object state to the specified SfcObjectState value. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée IAlienObject.SetPropertyValue Sets the property value. (hérité de SqlSmoObject.)
Implémentation d'interface explicite Méthode privée ISfcPropertyProvider.GetPropertySet Gets the interface reference to the set of properties of this object. (hérité de SqlSmoObject.)
Haut de la page
Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
© 2013 Microsoft. Tous droits réservés.