Name Simple Type

Defines a string that you use to specify a name value.

<xs:simpleType name="Name">
    <xs:restriction
        base="xs:string"
    >
        <xs:maxLength
            value="256"
         />
        <xs:minLength
            value="1"
         />
        <xs:pattern
            value="[^ :/\r\n\t\\]+"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

The Name simple type is a xs:string that is restricted by the following pattern:

  • [^ :/\r\n\t\\]+

    You can specify any character except a space, colon, slash, carriage return, newline character, tab, or backslash.

Remarks

The string must contain a least one character but no more than 256 characters.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

ID

Parameter

Script