Clear Replication History for Selected Databases

Tag: ClearReplicationHistory

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



image2022-8-22_18-20-59.png

Tag Attributes

Attributes

Attribute Value

Value Description

Target

Applicable 

Grid/Panel code

N/A - Required

Example Scripts

XML
<ClearReplicationHistory Target="SelectedDatabases"/>


XML
<ytriaAutomation>
	<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.