ComputerNameType

Applies To: Operations Manager 2007 R2

ComputerNameType simple data type is used to specify a computer name.

Schema Definition

<xsd:simpleType name="ComputerNameType">
  <xsd:restriction base="xsd:string">
    <xsd:minLength value="0" />
    <xsd:maxLength value="260" />
  </xsd:restriction>
</xsd:simpleType>

Remarks

The ComputerNameType string is most commonly passed to a module by using the $Target notation, although it can be specified as any string.

The following XML sample shows how to specify a ComputerNameType data type in a configuration parameter:

<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName> 

Information

   

Schema Type

Microsoft.Windows.ComputerNameSchema

Library

Microsoft.Windows.Library