Statistic-Member
The Statistic class represents a SQL Server statistic counter.
Der Statistic-Typ macht die folgenden Member verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
Statistic() () () () | Initializes a new instance of the Statistic class. | |
Statistic(SqlSmoObject, String) | Initializes a new instance of the Statistic class on the specified parent object and with the specified name. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AddDatabaseContext | (Geerbt von SqlSmoObject.) | |
AlterImpl | (Geerbt von SqlSmoObject.) | |
AlterImplFinish | (Geerbt von SqlSmoObject.) | |
AlterImplInit | (Geerbt von SqlSmoObject.) | |
AlterImplWorker | (Geerbt von SqlSmoObject.) | |
AppendCommaText | (Geerbt von ScriptNameObjectBase.) | |
AppendWithCommaText | (Geerbt von ScriptNameObjectBase.) | |
AppendWithOption | (Geerbt von ScriptNameObjectBase.) | |
BindDefaultImpl | (Geerbt von SqlSmoObject.) | |
BindRuleImpl | (Geerbt von SqlSmoObject.) | |
CheckCollation | (Geerbt von SqlSmoObject.) | |
CheckObjectDirty | (Geerbt von ScriptNameObjectBase.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Geerbt von SqlSmoObject.) | |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Geerbt von SqlSmoObject.) | |
CheckObjectStateImpl | (Geerbt von SqlSmoObject.) | |
CheckTextCorectness | (Geerbt von ScriptNameObjectBase.) | |
CheckTextModeSupport | (Geerbt von ScriptNameObjectBase.) | |
CheckVersion100 | (Geerbt von SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.) | |
CheckVersionBelow90 | (Geerbt von SqlSmoObject.) | |
CleanObject | Cleans the referenced object. (Geerbt von ScriptNameObjectBase.) | |
Create | Creates a statistics counter on the instance of SQL Server as defined by the Statistic object. | |
CreateImpl | (Geerbt von SqlSmoObject.) | |
CreateImplFinish | (Geerbt von SqlSmoObject.) | |
CreateImplInit | (Geerbt von SqlSmoObject.) | |
Discover | (Geerbt von SqlSmoObject.) | |
Drop | Removes the statistic counter. | |
DropImpl | (Geerbt von SqlSmoObject.) | |
DropImplWorker | (Geerbt von SqlSmoObject.) | |
EnumScriptImpl | (Geerbt von SqlSmoObject.) | |
EnumScriptImplWorker | (Geerbt von SqlSmoObject.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Geerbt von ScriptNameObjectBase.) | |
FormatSqlVariant | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceScript | (Geerbt von SqlSmoObject.) | |
GetBindDefaultScript | (Geerbt von SqlSmoObject.) | |
GetBindRuleScript | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetBraketNameForText | (Geerbt von ScriptNameObjectBase.) | |
GetDateTimeParameter | (Geerbt von SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.) | |
GetEnumParameter | (Geerbt von SqlSmoObject.) | |
GetFragOptionString | (Geerbt von SqlSmoObject.) | |
GetGuidParameter | (Geerbt von SqlSmoObject.) | |
GetHashCode | (Geerbt von Object.) | |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Geerbt von ScriptNameObjectBase.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetPropValue | (Geerbt von SqlSmoObject.) | |
GetPropValueOptional | (Geerbt von SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Geerbt von SqlSmoObject.) | |
GetRealValue | (Geerbt von SqlSmoObject.) | |
GetScriptIncludeExists | (Geerbt von ScriptNameObjectBase.) | |
GetScriptingOptionsForCreate | (Geerbt von SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetServerObject | (Geerbt von SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (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) | (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) | (Geerbt von ScriptNameObjectBase.) | |
GetTextProperty(String, ScriptingOptions) | (Geerbt von ScriptNameObjectBase.) | |
GetTimeSpanParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetType | (Geerbt von Object.) | |
GetUrnRecursive(StringBuilder) | (Geerbt von SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Geerbt von SqlSmoObject.) | |
ImplInitialize | (Geerbt von SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Geerbt von ScriptNameObjectBase.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
IsVersion80SP3 | (Geerbt von SqlSmoObject.) | |
MarkDropped | (Geerbt von SqlSmoObject.) | |
MarkForDrop | Marks the statistics counter to be dropped next time its parent SqlSmoObject object is altered with the ALTER method. | |
MarkForDropImpl | (Geerbt von SqlSmoObject.) | |
MemberwiseClone | (Geerbt von Object.) | |
PostAlter | (Geerbt von SqlSmoObject.) | |
PostCreate | (Geerbt von SqlSmoObject.) | |
PostDrop | (Geerbt von SqlSmoObject.) | |
Refresh | Refreshes the script name. (Geerbt von ScriptNameObjectBase.) | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the database. | |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the database as specified by the script options. | |
ScriptAlter | (Geerbt von SqlSmoObject.) | |
ScriptAnsiQI | (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 | (Geerbt von SqlSmoObject.) | |
ScriptDdl | (Geerbt von SqlSmoObject.) | |
ScriptDrop | (Geerbt von SqlSmoObject.) | |
ScriptImpl() () () () | (Geerbt von SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Geerbt von SqlSmoObject.) | |
ScriptImplWorker | (Geerbt von SqlSmoObject.) | |
ScriptInformativeHeaders | (Geerbt von ScriptNameObjectBase.) | |
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.) | |
SetParentImpl | (Geerbt von SqlSmoObject.) | |
SetScanOptions | Sets the scan options for the statistic counter. | |
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 | (Geerbt von ScriptNameObjectBase.) | |
ToString | Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.) | |
TouchImpl | (Geerbt von SqlSmoObject.) | |
UnbindDefaultImpl | (Geerbt von SqlSmoObject.) | |
UnbindRuleImpl | (Geerbt von SqlSmoObject.) | |
Update() () () () | Updates the statistics for the referenced object. | |
Update(StatisticsScanType) | Updates information about the distribution of key values. | |
Update(StatisticsScanType, Int32) | Updates information about the distribution of key values. | |
Update(StatisticsScanType, Int32, Boolean) | Updates information about the distribution of key values. | |
Validate | (Geerbt von SmoObjectBase.) |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Events | Gets the events associated with the database. | |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.) | |
FileGroup | Gets or sets the file group where the statistic counter is stored. | |
FilterDefinition | ||
HasFilter | ||
ID | Gets the ID value that uniquely identifies the statistic counter. | |
IsAutoCreated | Gets the Boolean property value that specifies whether the statistic counter is automatically created. | |
IsFromIndexCreation | Gets the Boolean property value that specifies whether the statistic counter was generated from the creation of an index. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Geerbt von SqlSmoObject.) | |
LastUpdated | Gets the date and time when the statistic counter was last updated. | |
Name | Gets or sets the name of the object. (Geerbt von NamedSmoObject.) | |
NoAutomaticRecomputation | Gets or sets the Boolean property value that specifies whether the statistics counter recomputed automatically. | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
Parent | Gets or sets the SqlSmoObject object that is the parent of the Statistic object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.) | |
ScalarResult | Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.) | |
State | Gets the state of the referenced object. (Geerbt von SmoObjectBase.) | |
StatisticColumns | Represents a collection of StatisticColumn objects. Each StatisticColumn object represents a column defined on the statistic counter. | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
PropertyChanged | (Geerbt von SqlSmoObject.) | |
PropertyMetadataChanged | (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IAlienObjectDiscover | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetParent | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetProperty | (Geerbt von SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetUrn | (Geerbt von SqlSmoObject.) | |
IAlienObjectResolve | (Geerbt von SqlSmoObject.) | |
IAlienObjectSetProperty | (Geerbt von SqlSmoObject.) |
Zum Anfang