次の方法で共有


GetServerEventDetailEx method of the MSFT_ServerManagerTasks class

Retrieves the details of events generated in an event log by a particular source.

Windows Server 2012 R2 and Windows Server 2012: This method is not available before Windows Server 2016.

Syntax

uint32 GetServerEventDetailEx(
  [in]  string                 FilterXml,
  [in]  uint64                 Skip,
  [in]  uint64                 Top,
  [in]  boolean                ReverseDirection,
  [in]  uint32                 BatchSize,
  [out] MSFT_ServerEventDetail cmdletOutput[]
);

Parameters

FilterXml [in]

The xml string of event filter query.

Skip [in]

The number of event records to skip from the query's result set.

Top [in]

The number of events to return from query's result set after skipping the count of events specified by Skip parameter.

ReverseDirection [in]

The condition of query direction, reverse direction if set to True.

BatchSize [in]

The batch size to use for streaming data back to the client.

cmdletOutput [out]

An array of embedded MSFT_ServerEventDetail instances that represent the list of selected events that match the query.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Windows\ServerManager
MOF
MgmtProvider.mof
DLL
MgmtProvider.dll

See also

MSFT_ServerManagerTasks

MSFT_ServerEventDetail