TableViewBase.Statistics 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Statistic))> _
Public ReadOnly Property Statistics As StatisticCollection 
    Get
用法
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

属性值

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

示例

使用数据库对象

请参阅

参考

TableViewBase 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

视图

CREATE TABLE (Transact-SQL)

CREATE VIEW (Transact-SQL)