Replication Change Injection Rule

Microsoft.Windows.Server.LDS.Replication.ChangeInjection.Rule (Rule)

This rule makes changes in the directory to enable replication monitoring.

Element properties:

TargetMicrosoft.Windows.Server.LDS.ApplicationPartitionInstance
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.LDS.Replication.Scheduler.DataSource Default
WA WriteAction Microsoft.Windows.Server.LDS.Replication.ChangeInjection.WriteAction Default

Source Code:

<Rule ID="Microsoft.Windows.Server.LDS.Replication.ChangeInjection.Rule" Enabled="true" Target="LDS!Microsoft.Windows.Server.LDS.ApplicationPartitionInstance" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.LDS.Replication.Scheduler.DataSource">
<IntervalSeconds>5400</IntervalSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.LDS.Replication.ChangeInjection.WriteAction">
<TimeoutSeconds>120</TimeoutSeconds>
<LDAPPort>$Target/Property[Type="LDS!Microsoft.Windows.Server.LDS.ApplicationPartitionInstance"]/LDAPPort$</LDAPPort>
<PartitionDN>$Target/Property[Type="LDS!Microsoft.Windows.Server.LDS.ApplicationPartitionInstance"]/DistinguishedName$</PartitionDN>
<PartitionName>$Target/Property[Type="LDS!Microsoft.Windows.Server.LDS.ApplicationPartitionInstance"]/Name$</PartitionName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<LogSuccessEvent>false</LogSuccessEvent>
</WriteAction>
</WriteActions>
</Rule>