共用方式為


Statistic.StatisticColumns 屬性

Represents a collection of StatisticColumn objects. Each StatisticColumn object represents a column defined on the statistic counter.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(StatisticColumn))> _
Public ReadOnly Property StatisticColumns As StatisticColumnCollection 
    Get
'用途
Dim instance As Statistic 
Dim value As StatisticColumnCollection 

value = instance.StatisticColumns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(StatisticColumn))]
public StatisticColumnCollection StatisticColumns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny, 
    typeof(StatisticColumn))]
public:
property StatisticColumnCollection^ StatisticColumns {
    StatisticColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, 
    typeof(StatisticColumn))>]
member StatisticColumns : StatisticColumnCollection
function get StatisticColumns () : StatisticColumnCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.StatisticColumnCollection
A StatisticColumnCollection object that represents all the statistic columns defined on the statistics counter.

範例

建立和更新統計資料

請參閱

參考

Statistic 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE STATISTICS (Transact-SQL)