Statistic.StatisticColumns Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(StatisticColumn))> _
Public ReadOnly Property StatisticColumns As StatisticColumnCollection 
    Get
'Usage
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

Property Value

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

Examples

Creating and Updating Statistics

See Also

Reference

Statistic Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE STATISTICS (Transact-SQL)