Motor de consulta de WMI
Microsoft.SystemCenter2012.ConfigurationManager.WmiQueryEngine (ProbeActionModuleType)
Este módulo é utilizado para a deteção da linha base de configuração.
Element properties:
Member Modules:
Source Code:
<ProbeActionModuleType ID="Microsoft.SystemCenter2012.ConfigurationManager.WmiQueryEngine" Accessibility="Public" Batching="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ProviderLocation" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SiteCode" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="QueryStatement" type="xsd:string"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="OnDemand" TypeID="System!System.PassThroughProbe"/>
<ProbeAction ID="WMI" TypeID="Windows!Microsoft.Windows.WmiProbe">
<NameSpace>\\$Config/ProviderLocation$\root\sms\site_$Config/SiteCode$</NameSpace>
<Query>$Config/QueryStatement$</Query>
</ProbeAction>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Config/ProviderLocation$</Value>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String"/>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="WMI">
<Node ID="Filter">
<Node ID="OnDemand"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
<TriggerOnly>true</TriggerOnly>
</ProbeActionModuleType>