ComputerNameType

System Center

Updated: August 10, 2011

Applies To: Operations Manager 2007 R2

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


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

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> 

 

   

Schema Type

Microsoft.Windows.ComputerNameSchema

Library

Microsoft.Windows.Library

 
Show: