Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / CustomSampledMetricDictionary Class / Add Method / Add(String) Method
The instance name to use, or blank or null for the default metric.

In This Topic
    Add(String) Method
    In This Topic
    Create a new metric object with the provided instance name and add it to the collection
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal instanceName As String _
    ) As CustomSampledMetric
    public CustomSampledMetric Add( 
       string instanceName
    )

    Parameters

    instanceName
    The instance name to use, or blank or null for the default metric.

    Return Value

    The new metric object that was added to the collection
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also