CIM_LogRecord, ROOT\Hardware\ms_409

Class | Childs (1) | Methods | Properties (11) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The LogRecord object can describe the definitional format for entries in a MessageLog, or can be used to instantiate the actual records in the Log. The latter approach provides a great deal more semantic definition and management control over the individual entries in a MessageLog, than do the record manipulation methods of the Log class. It is recommended that the data in individual Log entries be modeled using subclasses of LogRecord, to avoid the creation of LogRecords with one property (such as RecordData) without semantics. Definitional formats for LogRecords could be specified by establishing a naming convention for the RecordID and Message Timestamp key properties.

CIM_LogRecord - child subclasses in ROOT\Hardware\ms_409

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
LogRecord0110----

CIM_LogRecord properties

CIM_LogRecord has 11 properties (8 Local, 3 Derived)

NameOriginCIMType
CaptionCIM_ManagedElement8 [string]
key
CreationClassName
CIM_LogRecord8 [string]
DataFormatCIM_LogRecord8 [string]
DescriptionCIM_ManagedElement8 [string]
ElementNameCIM_ManagedElement8 [string]
key
LogCreationClassName
CIM_LogRecord8 [string]
key
LogName
CIM_LogRecord8 [string]
key
MessageTimestamp
CIM_LogRecord101 [datetime]
RecordDataCIM_LogRecord8 [string]
RecordFormatCIM_LogRecord8 [string]
key
RecordID
CIM_LogRecord8 [string]

Detailed description of CIM_LogRecord properties

Local properties (8) of CIM_LogRecord class

CreationClassName property
CIMTYPE'string'
Description'CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.'
keyTrue
CreationClassName property is in 16 classes of ROOT\Hardware\ms_409 and in 20 namespaces
DataFormat property
CIMTYPE'string'
Description'A free-form string describing the LogRecord's data structure.'
DataFormat property is in 2 classes of ROOT\Hardware\ms_409 and in 2 namespaces
LogCreationClassName property
CIMTYPE'string'
Description'The scoping Log's CreationClassName.'
keyTrue
LogCreationClassName property is in 2 classes of ROOT\Hardware\ms_409 and in 2 namespaces
LogName property
CIMTYPE'string'
Description'The scoping Log's Name.'
keyTrue
LogName property is in 2 classes of ROOT\Hardware\ms_409 and in 4 namespaces
MessageTimestamp property
CIMTYPE'datetime'
Description'A LogRecord's key structure includes a timestamp for the entry.'
keyTrue
MessageTimestamp property is in 2 classes of ROOT\Hardware\ms_409 and in 2 namespaces
RecordData property
CIMTYPE'string'
Description'A string containing LogRecord data.
If the corresponding RecordFormat property is , or cannot be parsed according to the recommended format, RecordData should be interpreted as a free-form string. If the RecordFormat property contains parseable format information (as recommended in the RecordFormat Description qualifier), the RecordData string SHOULD be parsed in accordance with this format. In this case, RecordData SHOULD begin with the delimiter character and this character SHOULD be used to separate substrings in the manner described. The RecordData string can then be parsed by the data consumer and appropriately typed.'
RecordData property is in 2 classes of ROOT\Hardware\ms_409 and in 7 namespaces
RecordFormat property
CIMTYPE'string'
Description'A string describing the data structure of the information in the property, RecordData. If the RecordFormat string is , RecordData should be interpreted as a free-form string.

To describe the data structure of RecordData, the RecordFormat string should be constructed as follows:
- The first character is a delimiter character and is used to parse the remainder of the string into sub-strings.
- Each sub-string is separated by the delimiter character and should be in the form of a CIM property declaration (i.e., datatype and property name). This set of declarations may be used to interpret the similarly delimited RecordData property.
For example, using a '*' delimiter, RecordFormat = "*string ThisDay*uint32 ThisYear*datetime SomeTime"
may be used to interpret: RecordData = "*This is Friday*2002*20020807141000.000000-300".'
RecordFormat property is in 2 classes of ROOT\Hardware\ms_409 and in 4 namespaces
RecordID property
CIMTYPE'string'
Description'RecordID, with the MessageTimestamp property, serve to uniquely identify the LogRecord within a MessageLog. Note that this property is different than the RecordNumber parameters of the MessageLog methods. The latter are ordinal values only, useful to track position when iterating through a Log. On the other hand, RecordID is truly an identifier for an instance of LogRecord. It may be set to the record's ordinal position, but this is not required.'
keyTrue
RecordID property is in 2 classes of ROOT\Hardware\ms_409 and in 8 namespaces

Derived properties (3) of CIM_LogRecord class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one- line string) of the object.'
Caption property is in 33 classes of ROOT\Hardware\ms_409 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object.'
Description property is in 34 classes of ROOT\Hardware\ms_409 and in 142 namespaces
ElementName property
CIMTYPE'string'
Description'A user-friendly name for the object. This property allows each instance to define a user-friendly name IN ADDITION TO its key properties/identity data, and description information.
Note that ManagedSystemElement's Name property is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information MAY be present in both the Name and ElementName properties.'
ElementName property is in 33 classes of ROOT\Hardware\ms_409 and in 21 namespaces

CIM_LogRecord Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'The LogRecord object can describe the definitional format for entries in a MessageLog, or can be used to instantiate the actual records in the Log. The latter approach provides a great deal more semantic definition and management control over the individual entries in a MessageLog, than do the record manipulation methods of the Log class. It is recommended that the data in individual Log entries be modeled using subclasses of LogRecord, to avoid the creation of LogRecords with one property (such as RecordData) without semantics.
Definitional formats for LogRecords could be specified by establishing a naming convention for the RecordID and Message Timestamp key properties.'
LOCALE1033

CIM_LogRecord System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\Hardware\ms_409:CIM_LogRecord'___SYSTEM8
__NAMESPACE'ROOT\Hardware\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_ManagedElement']___SYSTEM8
__PROPERTY_COUNT11___SYSTEM3
__RELPATH'CIM_LogRecord'___SYSTEM8
__DYNASTY'CIM_ManagedElement'___SYSTEM8
__SUPERCLASS'CIM_ManagedElement'___SYSTEM8
__CLASS'CIM_LogRecord'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to CIM_LogRecord

Number of classes:3
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_RecordLog1172----
LogRecord0110----
RecordLog0172----
comments powered by Disqus
WUtils.com