Share via


CIM_Namespace class

Namespace provides a domain (in other words, a container), in which the instances [of a class] are guaranteed to be unique per the KEY qualifier definitions. It is named relative to the CIM_ObjectManager implementation that provides such a domain.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Abstract, Version("2.8.0"), UMLPackagePath("CIM::Interop")]
class CIM_Namespace : CIM_ManagedElement
{
  string Caption;
  string Description;
  string ElementName;
  string SystemCreationClassName;
  string SystemName;
  string ObjectManagerCreationClassName;
  string ObjectManagerName;
  string CreationClassName;
  string Name;
  uint16 ClassInfo;
  string DescriptionOfClassInfo;
  uint16 ClassType;
  string ClassTypeVersion;
  string DescriptionOfClassType;
};

Members

The CIM_Namespace class has these types of members:

Properties

The CIM_Namespace class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

The Caption property is a short textual description (one- line string) of the object.

This property is inherited from CIM_ManagedElement.

ClassInfo

Data type: uint16

Access type: Read/write

Qualifiers: Deprecated ("CIM_Namespace.ClassType"), Required, ModelCorrespondence ("CIM_Namespace.DescriptionOfClassInfo")

Enumeration indicating the organization/schema of the Namespace's objects. For example, they may be instances of classes of a specific CIM version.

Unknown (0)

Other (1)

CIM 1.0 (2)

CIM 2.0 (3)

CIM 2.1 (4)

CIM 2.2 (5)

CIM 2.3 (6)

CIM 2.4 (7)

CIM 2.5 (8)

CIM 2.6 (9)

CIM 2.7 (10)

CIM 2.8 (11)

DMI Recast (200)

SNMP Recast (201)

CMIP Recast (202)

ClassType

Data type: uint16

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_Namespace.DescriptionOfClassType", "CIM_Namespace.ClassTypeVersion")

Enumeration indicating the schema of the Namespace's objects. For example, they may be instances of classes of a specific CIM version or a mapping from another standard, such as SNMP. If 'Other' is selected, the DescriptionOfClassType property MUST be populated.

Unknown (0)

Other (1)

CIM (2)

DMI Recast (200)

SNMP Recast (201)

CMIP Recast (202)

ClassTypeVersion

Data type: string

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_Namespace.DescriptionOfClassType", "CIM_Namespace.ClassType")

The version of the objects in this namespace. The string representing the version MUST be in the form:

M + "." + N + "." + U

Where:

M - The major version (in numeric form)

N - The minor version (in numeric form)

U - The update (e.g. errata, patch, ..., in numeric form)

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

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.

Description

Data type: string

Access type: Read-only

Contains a textual description of the object.

This property is inherited from CIM_ManagedElement.

DescriptionOfClassInfo

Data type: string

Access type: Read/write

Qualifiers: Deprecated ("CIM_Namespace.DescriptionOfClassType"), ModelCorrespondence ("CIM_Namespace.ClassInfo")

A string providing more detail (beyond the general classification in ClassInfo) for the object hierarchy of the Namespace.

DescriptionOfClassType

Data type: string

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_Namespace.ClassType", "CIM_Namespace.ClassTypeVersion")

A string providing more detail (beyond the general classification in ClassInfo) for the object hierarchy of the Namespace.

ElementName

Data type: string

Access type: Read-only

Contains 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.

This property is inherited from CIM_ManagedElement.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

A string to uniquely identify the Namespace within the ObjectManager.

ObjectManagerCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_ObjectManager.CreationClassName"), MaxLen (256)

The scoping ObjectManager's CreationClassName.

ObjectManagerName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_ObjectManager.Name"), MaxLen (256)

The scoping ObjectManager's Name.

SystemCreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_ObjectManager.SystemCreationClassName"), MaxLen (256)

The scoping System's CreationClassName.

SystemName

Data type: string

Access type: Read-only

Qualifiers: Key, Propagated ("CIM_ObjectManager.SystemName"), MaxLen (256)

The scoping System's Name.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SMiSCSITargetProv.dll

See also

CIM_ManagedElement