Metodo IDTSPerfRecorder100.GetCounterValues

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Retrieves the values of the counter.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Sub GetCounterValues ( _
    <OutAttribute> ByRef ppsaCounterNames As String(), _
    <OutAttribute> ByRef ppsaCounterValues As Long() _
)
'Utilizzo
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[]
)

Parametri

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

Vedere anche

Riferimento

IDTSPerfRecorder100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper