Service personnalisé Reporting Services des compteurs TSQL de source de données
Microsoft.SQLServer.2014.ReportingServices.DataSource.TSQLCountersReportingServiceCustom (DataSourceModuleType)
Service personnalisé Reporting Services des compteurs TSQL de source de données Microsoft SQL Server 2014
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.SQLServer.2014.ReportingServices.DataSource.TSQLCountersReportingServiceCustom" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DatabaseServerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DatabaseInstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DatabaseName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TSQLCounterClassName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TSQLCounterPropertyName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeOut" type="xsd:int"/>
<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="DividerIfGreater" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Divider" type="xsd:int"/>
<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="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="TimeOut" ParameterType="int" Selector="$Config/TimeOut$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
</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.ReportingServices.ProbeAction.TSQLCountersReportingServiceCustom">
<DatabaseServerName>$Config/DatabaseServerName$</DatabaseServerName>
<DatabaseInstanceName>$Config/DatabaseInstanceName$</DatabaseInstanceName>
<DatabaseName>$Config/DatabaseName$</DatabaseName>
<ServerName>$Config/ServerName$</ServerName>
<InstanceName>$Config/InstanceName$</InstanceName>
<TSQLCounterClassName>$Config/TSQLCounterClassName$</TSQLCounterClassName>
<TSQLCounterPropertyName>$Config/TSQLCounterPropertyName$</TSQLCounterPropertyName>
<TimeOut>$Config/TimeOut$</TimeOut>
<Interval>$Config/IntervalSeconds$</Interval>
<DividerIfGreater>$Config/DividerIfGreater$</DividerIfGreater>
<Divider>$Config/Divider$</Divider>
<PropertyBagName>$Config/TSQLCounterPropertyName$</PropertyBagName>
<Publisher>ReportingServices2014</Publisher>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<ConditionDetection ID="DBSetupCompleted" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<Value Type="String">$Config/DatabaseServerName$</Value>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>?*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<Value Type="String">$Config/DatabaseInstanceName$</Value>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>?*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<Value Type="String">$Config/DatabaseName$</Value>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>?*</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="DBSetupCompleted">
<Node ID="Trigger"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>