Performance Counters Functions for Visual Basic
Important
The functions that this topic describes may be altered or unavailable in the future. Instead, Microsoft recommends that you use the functions described in Performance Counters Functions.
You can use the following functions to work with performance data in Visual Basic.
- PdhCloseQuery
- PdhCollectQueryData
- PdhRemoveCounter
- PdhVbAddCounter
- PdhVbCreateCounterPathList
- PdhVbGetCounterPathElements
- PdhVbGetCounterPathFromList
- PdhVbGetDoubleCounterValue
- PdhVbGetLogFileSize
- PdhVbGetOneCounterPath
- PdhVbIsGoodStatus
- PdhVbOpenLog
- PdhVbOpenQuery
- PdhVbUpdateLog
Note
The PdhVb***
functions work on a per-process session and are not thread-safe. These functions should only be used from simple single-threaded applications.
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor