Partager via


GetProvidersAndWindowsEventChannels method of the MSFT_MTEventProvider class

Gets the list of those event providers that export at least one event channel. Also gets the list of those event channels that are connected to Windows event logs.

Syntax

uint32 GetProvidersAndWindowsEventChannels(
  [out] MSFT_MTEventProvider EventProviders[],
  [out] MSFT_MTEventChannel  WindowsEventChannels[]
);

Parameters

EventProviders [out]

An MSFT_MTEventProvider containing the list of those event providers that export at least one event channel.

WindowsEventChannels [out]

On success, returns an MSFT_MTEventChannel containing the list of those event channels that are connected to Windows event logs.

Return value

TBD

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\ManagementTools
MOF
MtTmProv.mof
DLL
MtTmProv.dll

See also

MSFT_MTEventProvider