Репликация MSSQL 2014: универсальный источник данных состояния агента репликации

Microsoft.SQLServer.2014.Replication.DataSource.ReplicationAgentStateUniversal (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SQLServer.Replication.Monitoring.RunAs.Monitor
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource System.Scheduler Default
Probe ProbeAction Microsoft.SQLServer.2014.Replication.ProbeAction.ReplicationAgentStateUniversal Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalSecondsint$Config/IntervalSeconds$
SyncTimestring$Config/SyncTime$
SqlTimeoutint$Config/SqlTimeout$

Source Code:

<DataSourceModuleType ID="Microsoft.SQLServer.2014.Replication.DataSource.ReplicationAgentStateUniversal" Accessibility="Internal" Batching="false" RunAs="MSRL!Microsoft.SQLServer.Replication.Monitoring.RunAs.Monitor">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SqlTimeout" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConnectionString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Key" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ShowJobsWithUnknownState" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ShowJobsWithHealthyState" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EstimatedJobDuration" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Separator" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="SqlTimeout" ParameterType="int" Selector="$Config/SqlTimeout$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Trigger" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SQLServer.2014.Replication.ProbeAction.ReplicationAgentStateUniversal">
<SqlTimeout>$Config/SqlTimeout$</SqlTimeout>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<Key>$Config/Key$</Key>
<ShowJobsWithUnknownState>$Config/ShowJobsWithUnknownState$</ShowJobsWithUnknownState>
<ShowJobsWithHealthyState>$Config/ShowJobsWithHealthyState$</ShowJobsWithHealthyState>
<EstimatedJobDuration>$Config/EstimatedJobDuration$</EstimatedJobDuration>
<Separator>$Config/Separator$</Separator>
<Publisher>Replication2014</Publisher>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Trigger"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>