Remove

The Remove method takes the name of a counter, removes the counter from the Counters object, and deletes the counter from the counters.txt file.

Syntax

Counters.Remove(CounterName)
 

Parameters

CounterName
A string containing the name of the counter.

Example

The following code removes the counter hitscounter from the counters.txt file.

<% Counters.Remove(hitscounter) %> 
 

Applies To

Counters component

See Also

Get, Increment, Set


© 1997 by Microsoft Corporation. All rights reserved.