TableViewBase.Statistics Property

 

Applies To: SQL Server 2016 Preview

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

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, 
    SfcContainerCardinality.ZeroToAny, typeof(Statistic))]
public StatisticCollection Statistics { get; }
public:
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, 
    SfcContainerCardinality::ZeroToAny, (Statistic^::typeid))]
property StatisticCollection^ Statistics {
    StatisticCollection^ get();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer,
    SfcContainerCardinality.ZeroToAny, typeof(Statistic))>]
member Statistics : StatisticCollection with get
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
    GetType(Statistic))>
Public ReadOnly Property Statistics As StatisticCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.StatisticCollection

A StatisticCollection object that represents all the statistic counters defined on the table or view.

Examples

Legacy Code Example

Working with Database Objects

See Also

TableViewBase Class
Microsoft.SqlServer.Management.Smo Namespace

CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)
Unable to find linked topic '811e00f9-303f-42b5-8bd4-2cdb829c84e9'.Unable to find linked topic 'cd917eae-1b89-40d5-8215-3b8add128f16'.

Return to top