MSFT_UCUpdateInstanceTraceEvent class

An MSFT_UCUpdateInstanceTraceEvent instance is fired each time the updating consumer performs an Insert command on an object. This class is derived from MSFT_UCInstanceTraceEvent.

Note  For more information about support and installation of this component on a specific operating system, see Operating System Availability of WMI Components.

Syntax

class MSFT_UCUpdateInstanceTraceEvent : MSFT_UCInstanceTraceEvent
{
  uint32                CommandIndex;
  MSFT_UpdatingConsumer Consumer;
  object                Data;
  string                ErrorStr;
  object                Event;
  string                ExecutionId;
  object                Inst;
  object                OriginalInst;
  uint8                 SECURITY_DESCRIPTOR[];
  uint32                StatusCode;
  uint64                TIME_CREATED;
};

Members

The MSFT_UCUpdateInstanceTraceEvent class has these types of members:

Properties

The MSFT_UCUpdateInstanceTraceEvent class has these properties.

CommandIndex
Data type: uint32
Access type: Read-only

Index of the statement currently being executed. This property was inherited from MSFT_UCInstanceTraceEvent.

Consumer
Data type: MSFT_UpdatingConsumer
Access type: Read-only

Instance of MSFT_UpdatingConsumer being executed. This property was inherited from MSFT_UCInstanceTraceEvent.

Data
Data type: object
Access type: Read-only

Object being used when modifying this instance. This property was inherited from MSFT_UCInstanceTraceEvent.

ErrorStr
Data type: string
Access type: Read-only

Information in the case of an error (StatusCode greater than 1). For example, if an updating consumer contains an UPDATE statement that is not valid, the ErrorStr property contains information about what part of the query is not valid. This property was inherited from MSFT_UCInstanceTraceEvent.

Event
Data type: object
Access type: Read-only

Event being indicated to the updating consumer instance. This property was inherited from MSFT_UCInstanceTraceEvent.

ExecutionId
Data type: string
Access type: Read-only

Unique identifier that represents the execution of the updating consumer. Each execution of an updating consumer for a single event has a unique identifier. The identifier permits correlation of the command trace events because all commands executed on behalf of an updating consumer have the same ExecutionId value. This property was inherited from MSFT_UCInstanceTraceEvent.

Inst
Data type: object
Access type: Read-only

Object being modified after all assignments have taken place. This property was inherited from MSFT_UCInstanceTraceEvent.

OriginalInst
Data type: object
Access type: Read-only

Object being modified before any assignments have taken place.

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

Descriptor used by the event provider to determine which users can receive the event. This property was inherited from MSFT_UCInstanceTraceEvent.

StatusCode
Data type: uint32
Access type: Read-only

WBEM status code that represents the outcome of the command or consumer trace event. This property was inherited from MSFT_UCInstanceTraceEvent.

TIME_CREATED
Data type: uint64
Access type: Read-only

Unique value that indicates the time at which the event was 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 Times (UTC) format. This property was inherited from MSFT_UCInstanceTraceEvent.

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

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

None supported

End of client support

Windows XP

Namespace

\root\subscription

MOF

Updprov.mof

DLL

Updprov.dll

See also

Supporting Classes for the Updating Consumer

 

 

Show:
© 2014 Microsoft. All rights reserved.