MoveContentAction Element

System.Object
  ActionType
    MoveContentAction
Client Declaration
  public class MoveContentAction
Represents a pending action for moving the content data of a Document or Annotation object to a new storage location. For more information, see the Java™ API MoveContent class and moveContent method topics.

Element Structure

Attributes
  • Boolean moveAllVersions: [request] Optional expression that specifies whether all versions of the object will be moved (true) or not (false).
  • GuidType targetPolicyId: [request] Required expression that specifies the GUID of a storage area object that identifies the target storage location.
Attributes Specific to .NET Clients
  • Boolean moveAllVersionsSpecified: Optional expression that specifies whether moveAllVersions has a value (true) or not (false).

Code Example

MoveContentAction objMoveContent = new MoveContentAction();
objMoveContent.moveAllVersions = true;
objMoveContent.moveAllVersionsSpecified = true;
objMoveContent.targetPolicyId = "{ACC4CA8D-F36C-47AC-BA6B-7631C9D629F6}";

XML Schema

<xsd:complexType name="MoveContentAction">
   <xsd:complexContent>
      <xsd:extension base="ActionType">
         <xsd:attribute name="targetPolicyId" type="GuidType" use="required"/>
         <xsd:attribute name="moveAllVersions" type="xsd:boolean"/>
      </xsd:extension>
   </xsd:complexContent>
</xsd:complexType>