Share via


SMS_EmbeddedProperty

The SMS_EmbeddedProperty WMI class is a general purpose embedded object that contains a property name and its property value. The site control file uses this class to define the properties of a site control item.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_EmbeddedProperty
{
  string ItemType;
  string PropertyName;
  uint32 Value;
  string Value1;
  string Value2;
};

Properties

  • ItemType
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    SMS-assigned key value.

  • PropertyName
    Data type: string
    Access type: Read/write

    Name of the property. The name is case-sensitive and may contain several words, such as Connection Point.

  • Value
    Data type: uint32
    Access type: Read/write

    Contains a value if the property value is numeric.

  • Value1
    Data type: string
    Access type: Read/write

    Contains a value if the property value is a string. The string represents a registry data type if the property comes from the system registry. Otherwise, this is the actual string value of the property.

  • Value2
    Data type: string
    Access type: Read/write

    Typically, this is the string value of the property if Value1 contains the registry data type, REG_SZ. However, some properties contain multiple property values and store values in both Value1 and Value2. Note that properties that contain multi-string registry data types use the SMS_Client_Reg_MultiString_List embedded class.

Remarks

There is no list which defines the properties for each site control item. The best way to determine the properties for each site control item is to follow the steps defined in Determining Which Site Control Item to Use. Note that property names that contain the word Reserved cannot be modified.

See Also

Managing Site Control Configuration, Site Configuration Classes, SMS_Client_Reg_MultiString_List, SMS_EmbeddedPropertyList, SMS_SiteControlItem