3.1.4.2.2.2 DeleteVersionResponse

The DeleteVersionResponse element specifies the result data for the DeleteVersion WSDL operation.

 <s:element name="DeleteVersionResponse">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="1" maxOccurs="1" name="DeleteVersionResult">
         <s:complexType>
           <s:sequence>
             <s:element name="results" minOccurs="1" maxOccurs="1" type="tns:Results" />
           </s:sequence>
         </s:complexType>
       </s:element>
     </s:sequence>
   </s:complexType>
 </s:element>

DeleteVersionResult: An XML node that conforms to the structure specified in section 2.2.4.1 and that contains the details about all the versions of the specified file that the user can access.

The error conditions that can be encountered during this operation generate the error codes that are shown in the following table.

Error code

Description

0x81020073

This error code SHOULD<5> indicate that the fileName element of the DeleteVersion element contains invalid characters.<6>

0x80131600

The specified version does not exist or was recently deleted. This error code is returned when either the value specified by the fileVersion element is the current or published version of the file or the file does not exist.<7>

Note that invalid characters are defined as the following:

  • Double quotation mark (")

  • Pound sign (#)

  • Percent sign (%)

  • Ampersand (&)

  • Asterisk (*)

  • Colon (:)

  • Left angle bracket (<)

  • Equal sign (=)

  • Right angle bracket (>)

  • Question mark (?)

  • Backward slash (\)

  • Left curly bracket ({)

  • Vertical bar (|)

  • Right curly bracket (})

  • Tilde (~)

  • Forward slash (/)

  • Two consecutive dots (..)

  • Any character that has a value less than 32 or greater than 126