StatisticCollection.Remove Method (Statistic)
Removes a Statistic object from the StatisticCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
statistic As Statistic _
)
'Usage
Dim instance As StatisticCollection
Dim statistic As Statistic
instance.Remove(statistic)
public void Remove(
Statistic statistic
)
public:
void Remove(
Statistic^ statistic
)
member Remove :
statistic:Statistic -> unit
public function Remove(
statistic : Statistic
)
Parameters
- statistic
Type: Microsoft.SqlServer.Management.Smo.Statistic
A Statistic object value that specifies the statistic counter to be removed from the StatisticCollection object.
See Also