Zdroj dat zjišťování koncových bodů služby systému Windows

Microsoft.SystemCenter.Apm.NTServiceEndpoint.Discovery.DataSource (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Discovery.Scheduler Default
Mapper ConditionDetection System.Discovery.ClassSnapshotDataMapper Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval (sekundy)Interval (sekundy)

Source Code:

<DataSourceModuleType Accessibility="Internal" ID="Microsoft.SystemCenter.Apm.NTServiceEndpoint.Discovery.DataSource" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:integer" name="IntervalSeconds"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime/>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ConditionDetection ID="Mapper" TypeID="System!System.Discovery.ClassSnapshotDataMapper">
<ClassId>$MPElement[Name="Microsoft.SystemCenter.Apm.NTServiceEndpoint"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.Apm.NTServiceEndpoint"]/ServiceName$</Name>
<Value>$Target/Property[Type="NTService!Microsoft.SystemCenter.NTService"]/ServiceName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.Apm.NTServiceEndpoint"]/ServiceProcessName$</Name>
<Value>$Target/Property[Type="NTService!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.Apm.NTServiceEndpoint"]/DisplayName$</Name>
<Value>$Target/Property[Type="NTService!Microsoft.SystemCenter.NTService"]/DisplayName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="System!System.Entity"]/DisplayName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>