Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OptionalParamListType

System Center

Updated: August 10, 2011

Applies To: Operations Manager 2007 R2

The OptionalParamListType complex data type is used to represent a list of optional parameters.


<xsd:complexType name="OptionalParamListType">
  <xsd:sequence>
    <xsd:element name="Params">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Param" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

You can use static values and variable notation values such as $Data and $Target values in the Param string.

Unlike the ParamListType, the OptionalParamListType schema type requires the Params parent element.

The following XML sample shows a Params element that contains three parameter values:


<Params>
  <Param>$Data/Property[@Name='Value1']$</Param>
  <Param>$Data/Property[@Name='Value2']$</Param>
  <Param>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetworkName$</Param>
</Params>

 

   

Schema Type

System.ParamListSchema

Library

System.Library

 
Show:
© 2015 Microsoft