The Setting Schema





IANet_Configuration

Purpose
This class is used to group a collection of IANet_Setting instances. The class is derived from CIM_Configuration.

Instances
Each adapter, VLAN or Team can have several associated IANet_Configuration instances (each configuration corresponds to a different usage scenario for the adapter.

For this WMI and CDM Providers release, there will be only one instance of IANet_Configuration per adapter, VLAN or team.

Creating Instances
You cannot create instances of IANet_Configuration.

Removing Instances
You cannot remove instances of IANet_Configuration.

Modifying Properties
There are no user-modifiable properties for this class.

Associations
An IANet_AdapterConfiguration instance will exist to associate each adapter (IANet_EthernetAdapter) with its configuration. An IANet_VLANConfiguration instance will exist to associate each VLAN (IANet_VLAN) with its configuration. An IANet_BootAgentConfiguration instance will exist to associate each boot agent (IANet_BootAgent) with its configuration.

Methods
There are no supported methods for this class.

Unsupported Attributes
None.

IANet_Setting

Purpose
This abstract class is used to describe a settable property in a configuration. The class is derived from CIM_Setting.

Instances
A separate instance of this class will exist for each setting on each adapter, VLAN or Team. Settings are not shared between configurations.

There are several sub-classes for IANet_Setting. The sub-classes correspond to the different types and ranges of values that settings can take. Each sub-class corresponds to a different style of GUI that may be used to display or change the settings.

Creating Instances
You cannot create instances of IANet_Setting.

Removing Instances
You cannot remove instances of IANet_Setting.

Modifying Properties
This abstract class has no modifiable properties, however, the child classes have modifiable properties (see below).

Associations
Each IANet_Setting instance is associated with an IANet_Configuration instance using an instance of IANet_SettingContext.

Methods
There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

Unsupported Attributes
SettingID is not used.

IANet_SettingInt

Purpose
This class models a setting that takes an integer value. There are several IANet setting classes used to model integers. The differences between these classes is related to the way the GUI displays and modifies the integer and the way the Providers validate. For IANet_SettingInt, it is expected that the GUI will display an edit box with a spin control.

Instances
An instance of this class exists for each setting that should be displayed as an integer edit box.

Creating Instances
You cannot create instances of this class.

Removing Instances
You cannot remove instances of this class.

Modifying Properties
The "CurrentValue" attribute is the only modifiable property of this class. You can modify this property by using IWbemClassObject::Put() to change the value, then call IWbemServices::PutInstance() to update the setting. The Providers will check that:

CurrentValue <= max
CurrentValue >= min
(CurrentValue - min) is a multiple of Step

Where max, min, CurrentValue and Step are all attributes of IANet_SettingInt.

Associations
Each IANet_SettingInt instance is associated with an IANet_Configuration instance using an instance of IANet_SettingContext.

Unsupported Attributes
SettingID is not used.

Methods
There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_SettingEnum

Purpose
This class models a setting that takes an integer value. There are several IANet setting classes used to model integers. The differences between these classes is related to the way the GUI displays and modifies the integer and the way the Providers validate. For IANet_SettingEnum, it is expected that the GUI will display a list of strings that map onto a small number of enumerated values (e.g., a drop list combo box).

Instances
An instance of this class exists for each setting that will be displayed as an enum.

Creating Instances
You cannot create instances of this class.

Removing Instances
You cannot remove instances of this class.

Modifying Properties
The CurrentValue attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call PutInstance() to update the setting. The Providers will check that CurrentValue Є PossibleValues[]

Associations
Each IANet_SettingEnum instance is associated with an IANet_Configuration instance using an instance of IANet_SettingContext.

Unsupported Attributes
SettingID is not used.

Methods
There are no supported methods on this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_SettingSlider

Purpose
This class models a setting that takes an integer value. There are several IANet setting classes used to model integers. The differences between these classes is related to the way the GUI displays and modifies the integer and the way the Providers validate. For IANet_SettingSlider, it is expected that the GUI will display a slider that will allow you to choose the value in a graphical manner - the actual value chosen need not be displayed.

Instances
An instance of this class exists for each setting that will be displayed as a slider.

Creating Instances
You cannot create instances of this class.

Removing Instances
You cannot remove instances of this class.

Modifying Properties
The CurrentValue attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call PutInstance() to update the setting. The Providers will check that CurrentValue Є PossibleValues[]

Associations
Each IANet_SettingSlider instance is associated with an IANet_Configuration instance using an instance of IANet_SettingContext.

Unsupported Attributes
SettingID is not used.

Methods
There are no supported methods on this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_SettingMultiSelection

Purpose
This class models a setting whereby you can select several options from a list of options. For IANet_SettingMultiSelection, it is expected that the GUI will display multi-selection list box that will allow you to choose any (or no) option(s).

Instances
An instance of this class exists for each setting that will be displayed as a multi-selection.

Creating Instances
You cannot create instances of this class.

Removing Instances
You cannot remove instances of this class.

Modifying Properties
The CurrentValue attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then use PutInstance() to update the setting. The Providers will check that CurrentValue Є PossibleValues[].

Associations
Each IANet_SettingMultiSelection instance is associated with an IANet_Configuration instance using an instance of IANet_SettingContext.

Unsupported Attributes
SettingID is not used.

Methods
There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_SettingString

Purpose
This class models a setting whereby you can enter a free-form string value. For IANet_SettingMultiSelection, it is expected that the GUI will display an edit box.

Instances
An instance of this class exists for each setting that will be displayed as an edit box.

Creating Instances
You cannot create instances of this class.

Removing Instances
You cannot remove instances of this class.

Modifying Properties
The CurrentValue attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call PutInstance() to update the setting.

Associations
Each IANet_SettingMultiSelection instance is associated with an IANet_ElementConfiguration instance using an instance of IANet_SettingString.

Methods
There are no supported methods for this class.

Unsupported Attributes
SettingID is not used.

Methods
There are no supported methods for this class. To make changes to a setting, modify the required property, then call PutInstance.

Home


Copyright© 2002 Intel Corporation. Legal Information