Data Source for Replication Event Log Collection Target Discovery

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

Microsoft SQL Server 2014 Replication Event Log Collection Target Data Source

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Discovery.RegistryProvider Default
ComputerName ConditionDetection Microsoft.SQLServer.2014.Replication.ConditionDetection.EventLogCollectionTarget Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Frequencyint$Config/Frequency$Interval (seconds)The recurring interval of time in seconds in which to run the workflow.
SyncTimestring$Config/SyncTime$Synchronization TimeThe synchronization time specified by using a 24-hour format. May be omitted.
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (seconds)Specifies the time the workflow is allowed to run before being closed and marked as failed.

Source Code:

<DataSourceModuleType ID="Microsoft.SQLServer.2014.Replication.DataSource.EventLogCollectionTarget" Accessibility="Internal">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PrincipalName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Frequency" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Frequency" ParameterType="int" Selector="$Config/Frequency$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.Discovery.RegistryProvider">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>RealComputerName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>RealComputerDnsName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Hostname</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>RealComputerDomainName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>$Config/Frequency$</Frequency>
<SyncTime>$Config/SyncTime$</SyncTime>
</DataSource>
<ConditionDetection ID="ComputerName" TypeID="Microsoft.SQLServer.2014.Replication.ConditionDetection.EventLogCollectionTarget">
<PrincipalName>$Config/PrincipalName$</PrincipalName>
<ClassId>$MPElement[Name='Microsoft.SQLServer.2014.Replication.EventLogCollectionTarget']$</ClassId>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<Publisher>Replication2014</Publisher>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="ComputerName">
<Node ID="DS"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>