Propriedade do RDL Statistic.StatisticColumns

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

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

Valor da propriedade

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

Exemplos

Criando e atualizando estatísticas

Consulte também

Referência

Statistic Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE STATISTICS (Transact-SQL)