Index-Klasse
The Index object represents a SQL Server index.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo..::..Index
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class Index _
Inherits ScriptNameObjectBase _
Implements ICreatable, IDroppable, IMarkForDrop, IAlterable, _
IRenamable, IExtendedProperties, IScriptable, ISfcSupportsDesignMode
'Usage
Dim instance As Index
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class Index : ScriptNameObjectBase,
ICreatable, IDroppable, IMarkForDrop, IAlterable, IRenamable,
IExtendedProperties, IScriptable, ISfcSupportsDesignMode
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute]
public ref class Index sealed : public ScriptNameObjectBase,
ICreatable, IDroppable, IMarkForDrop, IAlterable, IRenamable,
IExtendedProperties, IScriptable, ISfcSupportsDesignMode
[<SealedAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute>]
type Index =
class
inherit ScriptNameObjectBase
interface ICreatable
interface IDroppable
interface IMarkForDrop
interface IAlterable
interface IRenamable
interface IExtendedProperties
interface IScriptable
interface ISfcSupportsDesignMode
end
public final class Index extends ScriptNameObjectBase implements ICreatable, IDroppable, IMarkForDrop, IAlterable, IRenamable, IExtendedProperties, IScriptable, ISfcSupportsDesignMode
Der Index-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
![]() |
Index() () () () | Initializes a new instance of the Index class. |
![]() |
Index(SqlSmoObject, String) | Initializes a new instance of the Index class on the specified parent object and with the specified name. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
![]() |
BoundingBoxXMax | Specifies the x-coordinate of the upper right corner of a bounding box |
![]() |
BoundingBoxXMin | Specifies the x-coordinate of the lower-left corner of a bounding box. |
![]() |
BoundingBoxYMax | Specifies the y-coordinate of upper-right corner of a bounding box. |
![]() |
BoundingBoxYMin | Specifies the y-coordinate of the lower-left corner of a bounding box. |
![]() |
CellsPerObject | Defines the maximum number of cells that tessellation can count per object. |
![]() |
CompactLargeObjects | Gets or sets the Boolean property value that specifies whether to compact the large object (LOB) data in the index. |
![]() |
DisallowPageLocks | Gets or sets the Boolean property value that specifies whether the index allows page locks. |
![]() |
DisallowRowLocks | Gets or sets the Boolean property value that specifies whether the index allows row locks. |
![]() |
Events | Gets the index events supported by the Index object. |
![]() |
ExecuteForScalar | Ruft den Boolean-Eigenschaftswert ab, der angibt, ob das Objekt auf die ExecuteForScalar-Option festgelegt ist, oder legt ihn fest. (Geerbt von SqlSmoObject.) |
![]() |
ExtendedProperties | Represents a collection of ExtendedProperty objects. Each ExtendedProperty object represents an extended property defined on the Index object. |
![]() |
FileGroup | Gets or sets the filegroup where the index pages are stored. |
![]() |
FileStreamFileGroup | Gets or Sets the file group name for the index. |
![]() |
FileStreamPartitionScheme | Gets or Sets the partition scheme name for the index. |
![]() |
FillFactor | Gets or sets the percentage of an index page to fill when the index is created or re-created. |
![]() |
FilterDefinition | Gets or sets the String value that contains the definition for the filter. |
![]() |
HasCompressedPartitions | Gets or sets the Boolean property value that specifies whether the index has compressed partitions. |
![]() |
HasFilter | Gets the Boolean property value that specifies whether the index has a filter defined for a range of index values. |
![]() |
ID | Gets the index ID value that uniquely identifies the index within the database. |
![]() |
IgnoreDuplicateKeys | Gets or sets the Boolean property value that specifies whether the index ignores duplicate keys. |
![]() |
IndexedColumns | Gets a collection of IndexedColumn objects that represent all the columns participating in the index. |
![]() |
IndexKeyType | Gets or sets the index key type. |
![]() |
IsClustered | Gets or sets the Boolean property value that specifies whether the index is clustered. |
![]() |
IsDisabled | Gets or sets the Boolean property value that specifies whether the index is disabled. |
![]() |
IsFullTextKey | Gets the Boolean value that specifies whether the index is enabled for row identification in Microsoft Search. |
![]() |
IsIndexOnComputed | Gets the Boolean property value that specifies whether the index is based on a computed column. |
![]() |
IsIndexOnTable | Gets the Boolean property value that specifies whether the index is defined for a table or a view. |
![]() |
IsPartitioned | Gets the Boolean property value that specifies whether the index is stored in a partitioned scheme. |
![]() |
IsSpatialIndex | Specifies if an index is a Spatial Index |
![]() |
IsSystemNamed | Gets the Boolean property value that specifies whether the index was named automatically by the system. |
![]() |
IsSystemObject | Gets the Boolean property value that specifies whether the index is a system object. |
![]() |
IsTouched | Ruft den Boolean-Eigenschaftswert ab, der angibt, ob die Objekteigenschaften aktualisiert, aber noch nicht permanent auf dem Server gespeichert wurden. (Geerbt von SqlSmoObject.) |
![]() |
IsUnique | Gets or sets the Boolean property value that specifies whether the index is unique or not. |
![]() |
IsXmlIndex | Gets or sets the Boolean property value that specifies whether the index is an XML index. |
![]() |
Level1Grid | Specifies the first level of decomposition for a geometry data type. |
![]() |
Level2Grid | Specifies the second level of decomposition for a geometry data type. |
![]() |
Level3Grid | Specifies the third level of decomposition for a geometry data type. |
![]() |
Level4Grid | Specifies the fourth level of decomposition for a geometry data type. |
![]() |
MaximumDegreeOfParallelism | Gets or sets the maximum number of processors that can be used when running a query that uses the index. |
![]() |
Name | Gets or sets the name of the index. (Überschreibt NamedSmoObject. . :: . .Name.) |
![]() |
NoAutomaticRecomputation | Gets or sets the Boolean property value that specifies whether statistics are regenerated when an index is created. |
![]() |
ObjectInSpace | Ruft den Boolean-Eigenschaftswert ab, der angibt, ob das Objekt isoliert vorhanden bzw. direkt oder indirekt mit der SQL Server-Instanz verbunden ist. (Geerbt von SqlSmoObject.) |
![]() |
OnlineIndexOperation | Gets or sets the Boolean property value that specifies whether the index will be kept online during index operations thus allowing access to the data. |
![]() |
PadIndex | Gets or sets the Boolean property value that specifies whether space is left open on each page of the intermediate levels of the index. |
![]() |
Parent | Gets or sets the SqlSmoObject object that is the parent of the Index object. |
![]() |
ParentXmlIndex | Gets or sets the parent of an XML index. |
![]() |
PartitionScheme | Gets or sets the partition scheme associated with the index. |
![]() |
PartitionSchemeParameters | Represents a collection of PartitionSchemeParameter objects. Each PartitionSchemeParameter object represents a parameter in the partition scheme associated with the index. |
![]() |
PhysicalPartitions | Gets a collection of PhysicalPartition objects that represent all the physical partitions on which the index is stored. |
![]() |
Properties | Ruft eine Auflistung von Property-Objekten ab, die die Objekteigenschaften darstellen. (Geerbt von SqlSmoObject.) |
![]() |
ScalarResult | Ruft das skalare Ergebnis für das Objekt ab, auf das verwiesen wird. (Geerbt von SqlSmoObject.) |
![]() |
SecondaryXmlIndexType | Gets or sets the secondary XML index type. |
![]() |
SortInTempdb | Gets or sets the Boolean property value that specifies whether the index is sorted using the tempdb database for intermediate storage of data. |
![]() |
SpaceUsed | Gets or sets the disk space used to store the index data in kilobytes. |
![]() |
SpatialIndexType | Gets or sets the Spatial Index Type for a column. |
![]() |
State | Gets the state of the referenced object. (Geerbt von SmoObjectBase.) |
![]() |
Urn | Ruft den Wert der URN (Uniform Resource Name)-Adresse ab, durch den das Objekt eindeutig identifiziert wird. (Geerbt von SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
![]() |
AddDatabaseContext(StringCollection) | Fügt der Auflistung der vom queries-Parameter identifizierten Abfragen den Datenbankkontext hinzu. (Geerbt von SqlSmoObject.) |
![]() |
AddDatabaseContext(StringCollection, ScriptingOptions) | Fügt der Auflistung der vom queries-Parameter identifizierten Abfragen den Datenbankkontext gemäß den angegebenen Skriptoptionen hinzu. (Geerbt von SqlSmoObject.) |
![]() |
Alter() () () () | Updates any Index object property changes on the instance of SQL Server. |
![]() |
Alter(IndexOperation) | Updates any Index object property changes on the instance of SQL Server for a specified index operation. |
![]() |
AlterAllIndexes | Updates any Index object property changes for all indexes on the instance of SQL Server for a specified index operation. |
![]() |
AlterImpl | Aktiviert das Änderungsereignis des Objekts. (Geerbt von SqlSmoObject.) |
![]() |
AlterImplFinish | Die Methode, die nach Beendigung des Änderungsereignisses des Objekts aufgerufen wird. (Geerbt von SqlSmoObject.) |
![]() |
AlterImplInit | Die Methode, die bei der Initialisierung des Änderungsereignisses des Objekts aufgerufen wird. (Geerbt von SqlSmoObject.) |
![]() |
AlterImplWorker | Ruft die ALTER-Methoden auf. (Geerbt von SqlSmoObject.) |
![]() |
AppendCommaText | Appends text, optionally separated by a comma. (Geerbt von ScriptNameObjectBase.) |
![]() |
AppendWithCommaText | Appends text, optionally separated by a comma. (Geerbt von ScriptNameObjectBase.) |
![]() |
AppendWithOption | Appends text and option text separated from the main text with a “WITH” string and optionally separated by a comma. (Geerbt von ScriptNameObjectBase.) |
![]() |
AutoGenerateName | Generates a name based on the object Guid. (Geerbt von ScriptNameObjectBase.) |
![]() |
BindDefaultImpl | Bindet die von den Parametern identifizierten Standardelemente. (Geerbt von SqlSmoObject.) |
![]() |
BindRuleImpl | Bindet das Regelschema an die Regel und die Spalten, die von den Parametern identifiziert werden. (Geerbt von SqlSmoObject.) |
![]() |
CheckCollation | Überprüft die Reihenfolge der Skriptoptionen anhand der vom collationName-Parameter identifizierten Sortierungsmethode. (Geerbt von SqlSmoObject.) |
![]() |
CheckIndex | Tests the integrity of database pages that store the index. |
![]() |
CheckIndexWithResult | Tests the integrity of database pages that store the index. |
![]() |
CheckObjectDirty | Checks whether object has been modified and not persisted. (Geerbt von ScriptNameObjectBase.) |
![]() |
CheckObjectState() () () () | Überprüft den Status des Objekts, auf das verwiesen wird. (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectState(Boolean) | Überprüft den Status des Objekts, auf das verwiesen wird. Optional kann angegeben werden, dass eine Ausnahme ausgelöst wird, wenn das Objekt noch nicht erstellt wurde. (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectStateImpl | Überprüft den Zustand von SqlSmoObject. (Geerbt von SqlSmoObject.) |
![]() |
CheckTextCorectness | Checks text for correctness against the parameters. (Geerbt von ScriptNameObjectBase.) |
![]() |
CheckTextModeSupport | Checks mode of support. (Geerbt von ScriptNameObjectBase.) |
![]() |
CheckVersion100 | Überprüft, ob die SQL Server-Version SQL Server 2008 ist. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80 | Überprüft die Gültigkeit des Objekts für SQL Server 2000. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Überprüft die Gültigkeit des Objekts für SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion90 | Überprüft die Gültigkeit des Objekts für SQL Server 2005. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersionBelow90 | Überprüft, ob die SQL Server-Version älter als SQL Server 2005 ist. (Geerbt von SqlSmoObject.) |
![]() |
CleanObject | Cleans the referenced object. (Geerbt von ScriptNameObjectBase.) |
![]() |
Create | Creates an index on the instance of SQL Server as defined by the Index object. |
![]() |
CreateImpl | Erstellt ein Objekt mit Skriptoptionen. (Geerbt von SqlSmoObject.) |
![]() |
CreateImplFinish | Die Methode, die nach Beendigung des CREATE-Ereignisses aufgerufen wird. (Geerbt von SqlSmoObject.) |
![]() |
CreateImplInit | Die Methode, die bei Initialisierung des CREATE-Ereignisses aufgerufen wird. (Geerbt von SqlSmoObject.) |
![]() |
Disable | Disables the index. |
![]() |
Discover | Ermittelt eine Liste vom Typ Object. (Geerbt von SqlSmoObject.) |
![]() |
Drop | Drops the index. |
![]() |
DropAndMove(String) | Drops a clustered index and moves the underlying table data to the specified filegroup. |
![]() |
DropAndMove(String, StringCollection) | Drops a clustered index and moves the underlying table data to the partition scheme with the specified partition scheme parameters. |
![]() |
DropImpl | Löscht SqlSmoObject. (Geerbt von SqlSmoObject.) |
![]() |
DropImplWorker | Ruft die DROP-Methoden auf. (Geerbt von SqlSmoObject.) |
![]() |
Enable | Enables the index. |
![]() |
EnumFragmentation() () () () | Enumerates a list of fragmentation information for the index using the default fast fragmentation option. |
![]() |
EnumFragmentation(FragmentationOption) | Enumerates a list of fragmentation information for the index with the specified fragmentation option. |
![]() |
EnumFragmentation(FragmentationOption, Int32) | Enumerates a list of fragmentation information for the index with the specified fragmentation option and partition number. |
![]() |
EnumScriptImpl | Listet die vom so-Parameter angegebenen Skripts auf. (Geerbt von SqlSmoObject.) |
![]() |
EnumScriptImplWorker | Ruft die Methoden auf, die die vom so-Parameter angegebenen Skripts auflisten. (Geerbt von SqlSmoObject.) |
![]() |
EnumScriptImplWorkerSOChanged | Gibt eine IEnumerable-Zeichenfolge zurück, die die Skriptoptionen für ein Objekt beschreibt. (Geerbt von SqlSmoObject.) |
![]() |
EnumStatistics | Enumerates a list of statistical information for the index. |
![]() |
Equals | (Geerbt von Object.) |
![]() |
ExecuteNonQuery | (Geerbt von SqlSmoObject.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Geerbt von ScriptNameObjectBase.) |
![]() |
FormatSqlVariant | Formatiert ein Objekt als SqlVariant-Typ. (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | Generiert ein Skript zum Erstellen der Datendatei. (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | Generiert ein Skript zum Zuordnen von Speicherplatz in der Datendatei. (Geerbt von SqlSmoObject.) |
![]() |
GetBindDefaultScript | Ruft das Skript ab, durch das die vom defSchema-Parameter und defName-Parameter angegebenen Standardwerte gebunden werden. (Geerbt von SqlSmoObject.) |
![]() |
GetBindRuleScript | Ruft das Skript ab, das die Bindungsregeln angibt. (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Weist einen booleschen Parameter von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Weist eine boolesche Eigenschaft von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetBraketNameForText | Gets the bracket name. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetDateTimeParameter | Weist die datetime-Eigenschaft von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | Weist die datetime-Eigenschaft von SqlSmoObject als ganzzahligen Wert zu, wenn die datetime-Eigenschaft nicht NULL ist. (Geerbt von SqlSmoObject.) |
![]() |
GetDBName | Ruft den Datenbanknamen ab, der dem Objekt zugeordnet ist. (Geerbt von SqlSmoObject.) |
![]() |
GetEnumParameter | Weist die Enumerationseigenschaft von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetFragOptionString | Ruft ein FragmentationOption-Objekt als Zeichenfolgenwert ab. (Geerbt von SqlSmoObject.) |
![]() |
GetGuidParameter | Weist eine Guid-Eigenschaft von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetIsSystemNamed | Gets a Boolean value that specifies whether the system is named. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Weist einen Parameter von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Weist einen Parameter von SqlSmoObject zu. (Geerbt von SqlSmoObject.) |
![]() |
GetPropValue | Ruft einen Eigenschaftswert des SqlSmoObject-Objekts ab. (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptional | Ruft einen Eigenschaftswert des SqlSmoObject-Objekts ab. (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | Ruft einen Eigenschaftswert des SqlSmoObject-Objekts ab. (Geerbt von SqlSmoObject.) |
![]() |
GetRealValue | Ruft einen Eigenschaftswert des SqlSmoObject-Objekts ab. (Geerbt von SqlSmoObject.) |
![]() |
GetScriptIncludeExists | Gets the script including the test for existence of type being scripted. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetScriptingOptionsForCreate | Ruft ScriptingOptions für das SqlSmoObject-Objekt ab. (Geerbt von SqlSmoObject.) |
![]() |
GetServerName | Ruft den Namen der SQL Server-Instanz ab, der das Objekt zugeordnet ist. (Geerbt von SqlSmoObject.) |
![]() |
GetServerObject | Ruft den Server des SqlSmoObject-Objekts ab. (Geerbt von SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Ruft den Versionsnamen der SQL Server-Instanz ab, der das Objekt zugeordnet ist. (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | Weist einen Zeichenfolgenparameter des SqlSmoObject-Objekts zu. (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | Weist einen Zeichenfolgenparameter des SqlSmoObject-Objekts zu. (Geerbt von SqlSmoObject.) |
![]() |
GetTextBody() () () () | Returns the text body. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextBody(Boolean) | Returns the text body. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | Gets the text of script object. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextHeader | Returns the text header. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextMode | Determines whether the script name is using text mode. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextProperty(String) | Gets the property as text. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTextProperty(String, ScriptingOptions) | Gets the property as text. (Geerbt von ScriptNameObjectBase.) |
![]() |
GetTimeSpanParameterAsInt | Weist einen Zeitraumparameter des SqlSmoObject-Objekts zu. (Geerbt von SqlSmoObject.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
GetUrnRecursive(StringBuilder) | Weist ein Urn-Objekt des SqlSmoObject-Objekts zu. (Geerbt von SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | Weist ein Urn-Objekt des SqlSmoObject-Objekts zu. (Geerbt von SqlSmoObject.) |
![]() |
ImplInitialize | Initialisiert die Felder des SqlSmoObject-Objekts. (Geerbt von SqlSmoObject.) |
![]() |
Initialize() () () () | Initialisiert das Objekt und erzwingt das Laden der Eigenschaften. (Geerbt von SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initialisiert das Objekt und erzwingt das Laden der Eigenschaften. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Geerbt von ScriptNameObjectBase.) |
![]() |
IsObjectInitialized | Überprüft, ob das Objekt initialisiert wurde. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectInSpace | Überprüft, ob das Objekt isoliert vorhanden oder mit der SQL Server-Instanz verbunden ist. (Geerbt von SqlSmoObject.) |
![]() |
IsVersion80SP3 | Ermittelt, ob die SQL Server-Version SQL Server 2000 mit SP3 ist. (Geerbt von SqlSmoObject.) |
![]() |
IsVersion90AndAbove | Ermittelt, ob die SQL Server-Version SQL Server 2005 oder höher ist. (Geerbt von SqlSmoObject.) |
![]() |
MarkDropped | Legt den zu löschenden SqlSmoState fest. (Geerbt von SqlSmoObject.) |
![]() |
MarkForDrop | Marks the index to be dropped the next time that the Alter method is run on the Index object's parent object. |
![]() |
MarkForDropImpl | Legt den zu löschenden SqlSmoState fest. (Geerbt von SqlSmoObject.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
PostAlter | Die Methode, die nach dem Ändern von SqlSmoObject aktiviert wird. (Geerbt von SqlSmoObject.) |
![]() |
PostCreate | Die Methode, die nach dem Erstellen von SqlSmoObject aktiviert wird. (Geerbt von SqlSmoObject.) |
![]() |
PostDrop | Die Methode, die nach dem Löschen von SqlSmoObject aktiviert wird. (Geerbt von SqlSmoObject.) |
![]() |
Rebuild() () () () | Rebuilds the index. |
![]() |
Rebuild(Int32) | Rebuilds the index on the partition with the specified partition number. |
![]() |
RebuildAllIndexes | Rebuilds all the indexes. |
![]() |
RecalculateSpaceUsage | Updates the disk resource usage of the index. |
![]() |
Recreate | Re-creates the index. |
![]() |
Refresh | Refreshes the Index object and its properties. (Überschreibt ScriptNameObjectBase. . :: . .Refresh() () () ().) |
![]() |
Rename | Renames the index. |
![]() |
RenameImpl | Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von NamedSmoObject.) |
![]() |
RenameImplWorker | Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von NamedSmoObject.) |
![]() |
Reorganize | Reorganizes the index based on current property settings. |
![]() |
ReorganizeAllIndexes | Reorganizes all the indexes based on current property settings. |
![]() |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the index. |
![]() |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the index as specified by the script options. |
![]() |
ScriptAlter | Ändert SqlSmoObject gemäß den Parametern. (Geerbt von SqlSmoObject.) |
![]() |
ScriptAnsiQI | Scripts the database object in ANSI text. (Geerbt von ScriptNameObjectBase.) |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
ScriptCreate | Ändert SqlSmoObject gemäß den Parametern. (Geerbt von SqlSmoObject.) |
![]() |
ScriptDdl | Löst InvalidSmoOperationException aus. (Geerbt von SqlSmoObject.) |
![]() |
ScriptDrop | Löst InvalidSmoOperationException aus. (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl() () () () | Ruft eine Skriptauflistung von SqlSmoObject ab. (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | Ruft eine Skriptauflistung von SqlSmoObject ab. (Geerbt von SqlSmoObject.) |
![]() |
ScriptImplWorker | Ruft eine Skriptauflistung von SqlSmoObject ab. (Geerbt von SqlSmoObject.) |
![]() |
ScriptInformativeHeaders | Scripts the information headers. (Geerbt von ScriptNameObjectBase.) |
![]() |
ScriptOwner | Alters the script owner authorization. (Geerbt von NamedSmoObject.) |
![]() |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
SetCollectionTextMode | Sets the collection text mode. (Geerbt von ScriptNameObjectBase.) |
![]() |
SetIsSystemNamed | Sets a Boolean value that specifies whether the system is named. (Geerbt von ScriptNameObjectBase.) |
![]() |
SetParentImpl | Legt das übergeordnete Element von SqlSmoObject auf den newParent-Parameter fest. (Geerbt von SqlSmoObject.) |
![]() |
SetSchemaOwned | Sets the schema owned value. (Geerbt von NamedSmoObject.) |
![]() |
SetTextBody | Specifies the text body. (Geerbt von ScriptNameObjectBase.) |
![]() |
SetTextHeader | Specifies the text header. (Geerbt von ScriptNameObjectBase.) |
![]() |
SetTextMode | Specifies the text mode. (Geerbt von ScriptNameObjectBase.) |
![]() |
SwitchTextMode | Switches the text mode. (Geerbt von ScriptNameObjectBase.) |
![]() |
ThrowIfTextIsDirtyForAlter | Throws an exception of text has been modified and not persisted. (Geerbt von ScriptNameObjectBase.) |
![]() |
ToString | Gibt eine String zurück, die das Objekt darstellt, auf das verwiesen wird. (Geerbt von SqlSmoObject.) |
![]() |
TouchImpl | Nicht implementiert. (Geerbt von SqlSmoObject.) |
![]() |
UnbindDefaultImpl | Hebt die Bindung der Standardspalten von SqlSmoObject auf. (Geerbt von SqlSmoObject.) |
![]() |
UnbindRuleImpl | Hebt die Bindung der Regeln von SqlSmoObject auf. (Geerbt von SqlSmoObject.) |
![]() |
UpdateStatistics() () () () | Updates statistics for the referenced index. |
![]() |
UpdateStatistics(StatisticsScanType) | Updates statistics for the referenced index with the specified statistics scan type. |
![]() |
UpdateStatistics(StatisticsScanType, Int32) | Updates statistics for the referenced index with the specified statistics scan type and specified sample size. |
![]() |
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. |
![]() |
Validate | Validates the state of an object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
![]() |
PropertyChanged | Stellt das Ereignis dar, das bei Änderung einer Eigenschaft auftritt. (Geerbt von SqlSmoObject.) |
![]() |
PropertyMetadataChanged | Stellt das Ereignis dar, das bei Änderungen an den Eigenschaftsmetadaten auftritt. (Geerbt von SqlSmoObject.) |
Zum Anfang
Felder
Name | Beschreibung | |
---|---|---|
![]() |
m_ExtendedProperties | Stellt eine Eigenschaft dar, die zur Erweiterung der von SqlSmoObject bereitgestellten Eigenschaften definiert wird. (Geerbt von SqlSmoObject.) |
![]() |
singletonParent | Stellt das übergeordnete Singleton-Element dar. (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
![]() ![]() |
IAlienObject. . :: . .Discover | Ermittelt alle Abhängigkeiten. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetDomainRoot | Gibt den Stamm der Domäne zurück. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetParent | Ruft das übergeordnete Element dieses Objekts ab. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetPropertyType | Ruft den Typ der angegebenen Eigenschaft ab. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetPropertyValue | Ruft den Wert der angegebenen Eigenschaft ab. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .GetUrn | Ruft den URN (Uniform Resource Name) des Objekts ab. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .Resolve | Ruft aus dem URN die Instanz ab, die die Informationen zum Objekt enthält. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .SetObjectState | Legt den Objektstatus auf den angegebenen SfcObjectState-Wert fest. (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObject. . :: . .SetPropertyValue | Legt den Eigenschaftswert fest. (Geerbt von SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProvider. . :: . .GetPropertySet | Ruft den Schnittstellenverweis auf den Eigenschaftensatz dieses Objekts ab. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SqlSmoObject.) |
![]() ![]() |
ISfcSupportsDesignMode. . :: . .IsDesignMode | Gets a Boolean value that indicates whether the object supports design mode. |
Zum Anfang
Hinweise
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
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
Siehe auch