CimClassAttribute.InstantiationType (property)

Gets and sets instantiation type
Syntax: CimClassInstantiationTypesEnum = object.InstantiationType
object.InstantiationType = CimClassInstantiationTypesEnum
Description: CimClassAttribute.InstantiationType determines the way the instantiation type of this attribute.

This attribute controls the way the attribute is treated (required, readonly, etc...)

Examples

Dim class As CimClassInstance
Set attrib = class.Attributes.Item("EXISTING_ATTRIBUTE")
attrib.InstantiationType = cimInstantionRequired