DHCP-server 2016 och senare datakällmodul för enskilda scope med växling

Microsoft.Windows.DHCPServer.10.0.IndScopeStats.DS (DataSourceModuleType)

DHCP-server 2016 och senare datakällmodul för enskilda scope

Knowledge Base article:

Sammanfattning

Den här datakällmodulen hämtar scopestatistik efter angivna växlingsparametrar i Windows Server 2016 som har DHCP-funktionen aktiverad.

Konfiguration

Intervall i sekunder: Hur ofta (i sekunder) värdet ska kontrolleras.

Synktid: Synkroniseringstid för modulkörning.

Tidsgräns i sekunder: Hur lång tid det tar (i sekunder) för att modulen ska avsluta sin körning.

Första raden: Hur lång tid det tar (i sekunder) för att modulen ska avsluta sin körning.

Sista raden: Hur lång tid det tar (i sekunder) för att modulen ska avsluta sin körning.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
Schedule DataSource System.SimpleScheduler Default
Probe ProbeAction Microsoft.Windows.DHCPServer.10.0.GetIndScopeStats Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Intervall i sekunderHur ofta (i sekunder) bör värdet testas.
SyncTimestring$Config/SyncTime$SynkroniseringstidSynkroniseringstid för modulkörning.
TimeoutSecondsint$Config/TimeoutSeconds$Tidsgräns i sekunderFörväntad tid (i sekunder) som modulen väntar för att slutföra körningen.
InitialRowint$Config/InitialRow$Första radenDet här är den första raden som returneras i identifieringen.
FinalRowint$Config/FinalRow$Sista radenDet här är den sista raden som returneras i identifieringen.

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.DHCPServer.10.0.IndScopeStats.DS" Accessibility="Public" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="InitialRow" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="FinalRow" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="InitialRow" Selector="$Config/InitialRow$" ParameterType="int"/>
<OverrideableParameter ID="FinalRow" Selector="$Config/FinalRow$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Schedule" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.DHCPServer.10.0.GetIndScopeStats">
<ComputerName>$Config/ComputerName$</ComputerName>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<InitialRow>$Config/InitialRow$</InitialRow>
<FinalRow>$Config/FinalRow$</FinalRow>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Schedule"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>