Database and Log Size Data Source

Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.PerfDataSource (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.DataSource Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalSecondsint$Config/IntervalSeconds$
TimeoutSecondsint$Config/TimeoutSeconds$
LogSuccessEventbool$Config/LogSuccessEvent$

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.PerfDataSource" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element name="IntervalSeconds" type="xsd:int"/>
<xsd:element name="TimeoutSeconds" type="xsd:int"/>
<xsd:element name="DatabaseFile" type="xsd:string"/>
<xsd:element name="DatabaseLogPath" type="xsd:string"/>
<xsd:element name="LogSuccessEvent" type="xsd:boolean"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LogSuccessEvent" Selector="$Config/LogSuccessEvent$" ParameterType="bool"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.LDS.Service.DatabaseAndLogSize.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<DatabaseFile>$Config/DatabaseFile$</DatabaseFile>
<DatabaseLogPath>$Config/DatabaseLogPath$</DatabaseLogPath>
<LogSuccessEvent>$Config/LogSuccessEvent$</LogSuccessEvent>
</DataSource>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>Service</ObjectName>
<CounterName>$Data/Property[@Name='CounterName']$</CounterName>
<InstanceName>$Data/Property[@Name='CounterInstance']$</InstanceName>
<Value>$Data/Property[@Name='CounterValue']$</Value>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="PerfMapper">
<Node ID="DS"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SystemPerf!System.Performance.Data</OutputType>
</DataSourceModuleType>