Freigeben über


IDTSPerfRecorder100.GetCounterValues-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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[]
)

Parameter

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

Siehe auch

Verweis

IDTSPerfRecorder100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace