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)