Facet complex type [SDM] 

 
SDM Reference

Facet Complex Type

Defines an element that holds the name of a facet of a setting (a subsetting used to read a value from or write a value to a setting). Facets hold values inside a setting.

<xs:complexType name="Facet">
    <xs:attribute name="Name"
        type="SimpleName"
        use="required"
     />
Name
The name of the facet in a setting.
</xs:complexType>
Facet
Defines an element that holds the name of a facet of a setting (a subsetting used to read a value from or write a value to a setting).

Attributes

Name Type Description
Name SimpleName The name of the facet in a setting.

Remarks

In the following setting declaration, a setting declaration named Auth is declared with three subsettings: Resultant, Current, and Parent.

<SettingDeclaration Name=”Auth” Definition=”String” 
        DefaultRead=”Resultant” DefaultWrite=”Current”>
    <Facet Name=”Resultant”/>
    <Facet Name=”Current”/>
    <Facet Name=”Parent”/>
</SettingDeclaration>

A setting value in the same scope can then be declared:

<SettingValue Path=”Auth”>4</SettingValue>

See Also

SystemDefinitionModel Schema Complex Types

  
  Last updated: November 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.