Share via


OptionalParamListType

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

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

Schema Definition

<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>

Remarks

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>

Information

   

Schema Type

System.ParamListSchema

Library

System.Library