MSFT_WmiProvider_ExecQueryAsyncEvent_Pre class

The Msft_WmiProvider_ExecQueryAsyncEvent_Pre event class represents an event generated immediately prior to calling the provider's implementation of IWbemServices::ExecQueryAsync.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[AMENDMENT]
class MSFT_WmiProvider_ExecQueryAsyncEvent_Pre : Msft_WmiProvider_OperationEvent_Pre
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  String TransactionIdentifer;
  uint32 Flags;
  string HostingGroup;
  uint32 HostingSpecification;
  string Locale;
  string Namespace;
  string Provider;
  string Query;
  string QueryLanguage;
  string TransactionIdentifier;
  string User;
};

Members

The MSFT_WmiProvider_ExecQueryAsyncEvent_Pre class has these types of members:

Properties

The MSFT_WmiProvider_ExecQueryAsyncEvent_Pre class has these properties.

Flags
Data type: uint32
Access type: Read-only

This parameter can be one of the following values.

WBEM_FLAG_USE_AMENDED_QUALIFIERS

If this flag is set, WMI retrieves the amended qualifiers stored in the localized namespace of the current connection's locale. If not set, only the qualifiers stored in the immediate namespace are retrieved.

WBEM_FLAG_BIDIRECTIONAL

This flag causes WMI to retain pointers to objects of the enumeration until the client releases the enumerator.

WBEM_FLAG_SEND_STATUS

This flag registers with WMI a request to receive intermediate status reports through the client's implementation of IWbemObjectSinkSetStatus.

WBEM_FLAG_ENSURE_LOCATABLE

This flag ensures that any returned objects have enough information in them so that the system properties, such as __PATH, __RELPATH, and __SERVER, are non-NULL.

WBEM_FLAG_PROTOTYPE

This flag is used for prototyping. It does not execute the query and instead returns an object that looks like a typical result object.

WBEM_FLAG_DIRECT_READ

This flag causes direct access to the provider for the class specified without any regard to its parent class or subclasses.

HostingGroup
Data type: string
Access type: Read-only

Second component of the __Win32Provider HostingModel property when the hosting model is one of "LocalSystemHost", "LocalSystemHostOrSelfHost", "NetworkServiceHost", or "LocalServiceHost". The hosting group defines a particular instantiation of a WMI provider host. Providers that share the same hosting model and hosting group share the same surrogate process.

This property is inherited from Msft_WmiProvider_OperationEvent

HostingSpecification
Data type: uint32
Access type: Read-only

The first component of the __Win32Provider HostingModel property. For the possible values of this property, see the HostingSpecification property in the MSFT_Providers class.

This property is inherited from Msft_WmiProvider_OperationEvent

Locale
Data type: string
Access type: Read-only

Particular instantiation of a provider instance when the provider is configured for per local initialization.

This property is inherited from Msft_WmiProvider_OperationEvent

Namespace
Data type: string
Access type: Read-only

Namespace associated with a particular provider instance.

This property is inherited from Msft_WmiProvider_OperationEvent

Provider
Data type: string
Access type: Read-only

Name associated with a particular provider instance. The name is identical to the __Win32Provider property.

This property is inherited from Msft_WmiProvider_OperationEvent

Query
Data type: string
Access type: Read-only

Text of the query.

QueryLanguage
Data type: string
Access type: Read-only

Identifier of one of the query languages supported by WMI.

SECURITY_DESCRIPTOR
Data type: uint8 array
Access type: Read-only

Descriptor that the event provider uses to determine which users can receive the event. For more information, see WMI Security Constants.

This property is inherited from __Event.

TIME_CREATED
Data type: uint64
Access type: Read-only

Unique value that indicates the time the event is generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Time (UTC) format.

For more information about using uint64 values in scripts, see Scripting in WMI.

This property is inherited from __Event.

TransactionIdentifer
Data type: String
Access type: Read-only

The TransactionIdentifer property is for internal use, currently always empty.

This property is inherited from Msft_WmiProvider_OperationEvent.

TransactionIdentifier
Data type: string
Access type: Read-only

Internal use only. The current value is "{00000000-0000-0000-0000-000000000000}".

This property is inherited from Msft_WmiProvider_OperationEvent

User
Data type: string
Access type: Read-only

Particular provider instance, configured for per user initialization.

This property is inherited from Msft_WmiProvider_OperationEvent

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Namespace

Root\CIMV2

MOF

System.mof

DLL

WmiPrvSD.dll

See also

Msft_WmiProvider_OperationEvent_Pre
Provider Event Troubleshooting Classes
MSFT_Providers
WMI Troubleshooting
Receiving a WMI Event

 

 

Show: