StatisticCollection.Remove StatisticCollection.Remove StatisticCollection.Remove Method

Definition

Removes a Statistic object from the StatisticCollection object.

Overloads

Remove(Statistic) Remove(Statistic)

Removes a Statistic object from the StatisticCollection object.

Remove(String) Remove(String) Remove(String)

Removes a Statistic object from the StatisticCollection object.

Remove(Statistic) Remove(Statistic)

Removes a Statistic object from the StatisticCollection object.

public:
 void Remove(Microsoft::SqlServer::Management::Smo::Statistic ^ statistic);
public void Remove (Microsoft.SqlServer.Management.Smo.Statistic statistic);
Parameters
statistic
Statistic Statistic Statistic

A Statistic object value that specifies the statistic counter to be removed from the StatisticCollection object.

Examples

Using Collections

Remove(String) Remove(String) Remove(String)

Removes a Statistic object from the StatisticCollection object.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
Public Sub Remove (name As String)
Parameters
name
String String String

A String that specifies the name of statistic counter to be removed from the StatisticCollection object.

Examples

Using Collections

Applies to