Share via


IDTSPerfRecorder100.GetCounterValues Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Retrieves the values of the counter.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub GetCounterValues ( _
    <OutAttribute> ByRef ppsaCounterNames As String(), _
    <OutAttribute> ByRef ppsaCounterValues As Long() _
)
'Usage
Dim instance As IDTSPerfRecorder100 
Dim ppsaCounterNames As String()
Dim ppsaCounterValues As Long()

instance.GetCounterValues(ppsaCounterNames, _
    ppsaCounterValues)
void GetCounterValues(
    out string[] ppsaCounterNames,
    out long[] ppsaCounterValues
)
void GetCounterValues(
    [OutAttribute] array<String^>^% ppsaCounterNames, 
    [OutAttribute] array<long long>^% ppsaCounterValues
)
abstract GetCounterValues : 
        ppsaCounterNames:string[] byref * 
        ppsaCounterValues:int64[] byref -> unit
function GetCounterValues(
    ppsaCounterNames : String[], 
    ppsaCounterValues : long[]
)

Parameters

  • ppsaCounterNames
    Type: array<System.String[]%
    The counter names.
  • ppsaCounterValues
    Type: array<System.Int64[]%
    The counter values to be retrieved.

See Also

Reference

IDTSPerfRecorder100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace