Freigeben über


TableViewBase.Statistics-Eigenschaft

Represents a collection of Statistic objects. Each Statistic object represents a statistic counter that is defined on the table or view.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Statistic))> _
Public ReadOnly Property Statistics As StatisticCollection 
    Get
'Usage
Dim instance As TableViewBase 
Dim value As StatisticCollection 

value = instance.Statistics
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Statistic))]
public StatisticCollection Statistics { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Statistic))]
public:
property StatisticCollection^ Statistics {
    StatisticCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Statistic))>]
member Statistics : StatisticCollection
function get Statistics () : StatisticCollection

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.StatisticCollection
A StatisticCollection object that represents all the statistic counters defined on the table or view.

Beispiele

Arbeiten mit Datenbankobjekten

Siehe auch

Verweis

TableViewBase Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Tabellen

Sichten

CREATE TABLE (Transact-SQL)

CREATE VIEW (Transact-SQL)