次の方法で共有


TableViewBase.Statistics プロパティ

Statistic オブジェクトのコレクションを表します。 各 Statistic オブジェクトは、テーブルまたはビューで定義された統計カウンターを表します。

名前空間:  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
テーブルまたはビューで定義されたすべての統計カウンターを表す StatisticCollection オブジェクト。

使用例

データベース オブジェクトでの作業

関連項目

参照

TableViewBase クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

テーブル

ビュー

CREATE TABLE (Transact-SQL)

CREATE VIEW (Transact-SQL)