Dela via


StatisticCollection.Add Method

Adds a Statistic object to the StatisticCollection collection.

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

Syntax

'Declaration
Public Sub Add ( _
    statistic As Statistic _
)
'Usage
Dim instance As StatisticCollection
Dim statistic As Statistic

instance.Add(statistic)
public void Add(
    Statistic statistic
)
public:
void Add(
    Statistic^ statistic
)
member Add : 
        statistic:Statistic -> unit 
public function Add(
    statistic : Statistic
)

Parameters