自動化 - Clear Database Replication History
 Previous | Next | Print 

Tag: ClearReplicationHistory


The ClearReplicationHistory action emulates selecting the Clear Replication History option within the Edit menu of replicationEZ.

<ClearReplicationHistory Target="SelectedDatabases"/>



Tag Attributes

AttributesAttribute ValueValue DescriptionComment
TargetApplicable Grid/Panel codeMandatory

Example Script


    <?xml version="1.0" encoding="UTF-8"?>
    <ytriaAutomation Application="replicationEZ" ApplicationVersion="16.0">

      <Load Server="ACME01/ACME" Partial="True">
        <Load Database="mail\jdoe.nsf" Select="True"/>
      </Load>

      <Select Target="Grid" lines="all"/>

      <ClearReplicationHistory Target="SelectedDatabases"/>

    </ytriaAutomation>

    In the script above, the Clear Replication History function will be launched on all databases in the Selected Databases panel.