Compartilhar via


PerformanceCounterMultipleInstance.GetInstance Method (String, )

Namespace:  Microsoft.Exchange.Diagnostics
Assembly:  Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)

Syntax

'Declaration
Protected Function GetInstance ( _
    instanceName As String, _
    totalInstance As PerformanceCounterInstance _
) As PerformanceCounterInstance
'Usage
Dim instanceName As String
Dim totalInstance As PerformanceCounterInstance
Dim returnValue As PerformanceCounterInstance

returnValue = Me.GetInstance(instanceName, _
    totalInstance)
protected PerformanceCounterInstance GetInstance(
    string instanceName,
    PerformanceCounterInstance totalInstance
)

Parameters

  • totalInstance
    Type: PerformanceCounterInstance

Return Value

Type: PerformanceCounterInstance