Add-Methode
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
)
Parameter
- statistic
Typ: Microsoft.SqlServer.Management.Smo. . :: . .Statistic
A Statistic object value that specifies the statistic counter to be removed from the StatisticCollection collection.