ArchiveOldVersionsJob

View as Markdown

Struct for a job of archiving old versions of documents.

Full nameMFiles.ArchiveOldVersionsJob
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
must_be_marked_for_archivingbool1Condition: Document is marked for archiving. False = condition not effective.
must_be_checked_in_before_utcgoogle.protobuf.Timestamp2If bCheckedInBefore is true, specifies the condition parameter.
has_must_be_at_least_nversions_olderbool3Condition: At least N versions older than the current version. False = condition not effective.
must_be_at_least_nversions_olderint324If bAtLeastNVersionsOlder is true, specifies the condition parameter.
has_must_be_at_least_ndays_olderbool5Condition: At least N days older than the current version. False = condition not effective.
must_be_at_least_ndays_olderint326If bAtLeastNDaysOlder is true, specifies the condition parameter.
must_not_have_version_tagbool7Condition: Has no version tag. False = condition not effective.
target_filestring8Full path to the target file on server.
impersonationImpersonation9Impersonation information for accessing the archive target files on server.
optionsOBJARCHIVINGFLAGS10Bit flags that control the execution of this archiving job. Note: Currently only OBJARCHIVINGFLAG_OVERWRITEEXISTINGFILES, OBJARCHIVINGFLAG_DESTROYAFTERWARDS, and OBJARCHIVINGFLAG_RESETMFA are supported.

Used by methods

Used in fields