2.2.5.9 SaveBehavior

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Word.Server.Conversions

A string value specifying the preferred overwrite behavior of the output file of a conversion item when the output file already exists.

 <xs:simpleType name="SaveBehavior" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="AppendIfPossible"/>
     <xs:enumeration value="AlwaysOverwrite"/>
     <xs:enumeration value="AppendOnly"/>
     <xs:enumeration value="NeverOverwrite"/>
   </xs:restriction>
 </xs:simpleType>

The following table specifies the allowable values for the SaveBehavior simple type.

Value

Meaning

AppendIfPossible

If the output file location supports version control, save the output file as a new version of the existing file. If the output file location does not support version control, overwrite the existing file.

AlwaysOverwrite

Overwrite the file, even if it already exists.

AppendOnly

If the output file location supports version control, save the output file as a new version of the existing file. If the output file location does not support version control, do not save the output file.

NeverOverwrite

Never overwrite an existing file.