Export (0) Print
Expand All
Expand Minimize

MSFT_NetAdapterAdvancedPropertySettingData class

This class represents the advanced properties of a network adapter stored in the registry.

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

Syntax

[Dynamic, Provider("NetAdapterCim")]class MSFT_NetAdapterAdvancedPropertySettingData : MSFT_NetAdapterSettingData
{
  string  DisplayName;
  string  DisplayValue;
  string  DefaultDisplayValue;
  uint32  DisplayParameterType;
  boolean Optional;
  string  ValidRegistryValues[];
  string  ValidDisplayValues[];
  string  NumericParameterBaseValue;
  string  NumericParameterMinValue;
  string  NumericParameterMaxValue;
  string  NumericParameterStepValue;
  string  RegistryKeyword;
  uint32  RegistryDataType;
  string  RegistryValue[];
  string  DefaultRegistryValue;
};

Members

The MSFT_NetAdapterAdvancedPropertySettingData class has these types of members:

Properties

The MSFT_NetAdapterAdvancedPropertySettingData class has these properties.

DefaultDisplayValue
Data type: string
Access type: Read-only

The description for the default value of the parameter. This property is only valid if the parameter is displayed in user interface.

DefaultRegistryValue
Data type: string
Access type: Read-only

Default registry value for the parameter. This property is only valid if the parameter is displayed in user interface.

DisplayName
Data type: string
Access type: Read-only

The property description in user interface. This property is only valid if the parameter is displayed in user interface.

DisplayParameterType
Data type: uint32
Access type: Read-only

This property specifies the type of the parameter. The "int", "long", "word", and "dword" types specify a numeric parameter; "edit" and "enum" types specify a text parameter. Note that the values for all the parameters that are displayed in the user interface, including numeric parameters, are stored in the registry as REG_SZ (null-terminated string) data type. This property is only valid if the parameter is displayed in user interface.

int (1)
long (2)
word (3)
dword (4)
enum (5)
edit (6)
DisplayValue
Data type: string
Access type: Read/write

The description for the current value of the property. This property is only valid if the parameter is displayed in user interface.

NumericParameterBaseValue
Data type: string
Access type: Read-only

The "Base" used in representing a numeric parameter. This property is only valid if the parameter is displayed in user interface.

NumericParameterMaxValue
Data type: string
Access type: Read-only

The maximum value of a numeric parameter. This property is only valid if the parameter is displayed in user interface.

NumericParameterMinValue
Data type: string
Access type: Read-only

The minimum value of a numeric parameter. This property is only valid if the parameter is displayed in user interface.

NumericParameterStepValue
Data type: string
Access type: Read-only

The "Step" value of a numeric parameter. This property is only valid if the parameter is displayed in user interface.

Optional
Data type: boolean
Access type: Read-only

If True, specifying this parameter is optional. Otherwise it is mandatory. This property is only valid if the parameter is displayed in user interface.

RegistryDataType
Data type: uint32
Access type: Read/write

Registry keyword data type. For parameters displayed in user interface, this value is always REG_SZ even if the parameter is a numeric parameter.

REG_SZ (1)
REG_DWORD (4)
REG_MULTI_SZ (7)
REG_QWORD (11)
RegistryKeyword
Data type: string
Access type: Read/write

Registry keyword name of the parameter. Registry keywords may be associated with a parameter displayed in user interface. Some registry keywords are not associated to any parameter displayed in user interface.

RegistryValue
Data type: string array
Access type: Read/write

Current value of the registry keyword. For a parameter that is displayed in user interface and is of "enum" type, this is a value in EnumParameterRegistryValues array and not the description for the current value of the parameter.

ValidDisplayValues
Data type: string array
Access type: Read-only

An array of strings representing the descriptions for the registry keyword values used in EnumParameterRegistryValues. This property is only valid if the parameter is displayed in user interface.

ValidRegistryValues
Data type: string array
Access type: Read-only

An array of integers specifying the registry keyword values used to represent a parameter of the "enum" type. This property is only valid if the parameter is displayed in user interface.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\StandardCimv2

MOF

NetAdapterCim.mof

DLL

NetAdapterCim.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft