Analyse de la détection du Registre

Microsoft.Forefront.TMG.RegistryDetectionMonitor (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
RegistryProvider DataSource Microsoft.Windows.RegistryProvider Default
RegistryProbe ProbeAction Microsoft.Windows.RegistryTriggerProbe Default
FilterError ConditionDetection System.ExpressionFilter Default
FilterSuccess ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Microsoft.Forefront.TMG.RegistryDetectionMonitor" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>Windows!Microsoft.Windows.RegistryAttributeDefinitionsSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element minOccurs="1" name="Frequency" type="xsd:int"/>
<xsd:element minOccurs="1" name="RegistryAttributeDefinitions" type="RegistryAttributeDefinitionsType"/>
<xsd:element minOccurs="1" name="SuccessExpression" type="ExpressionType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="RegistryProvider" TypeID="Windows!Microsoft.Windows.RegistryProvider">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>$Config/RegistryAttributeDefinitions$</RegistryAttributeDefinitions>
<Frequency>$Config/Frequency$</Frequency>
</DataSource>
<ProbeAction ID="RegistryProbe" TypeID="Windows!Microsoft.Windows.RegistryTriggerProbe">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>$Config/RegistryAttributeDefinitions$</RegistryAttributeDefinitions>
</ProbeAction>
<ConditionDetection ID="FilterSuccess" TypeID="System!System.ExpressionFilter">
<Expression>$Config/SuccessExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterError" TypeID="System!System.ExpressionFilter">
<Expression>
<Not>
<Expression>$Config/SuccessExpression$</Expression>
</Not>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="FilterSuccess">
<Node ID="RegistryProvider"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="FilterError">
<Node ID="RegistryProvider"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Success">
<Node ID="FilterSuccess">
<Node ID="RegistryProbe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Error">
<Node ID="FilterError">
<Node ID="RegistryProbe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>