將 [電腦無法連線] 監視設定為成功

Microsoft.SystemCenter.ComputerUp.SetComputerDownMonitor (WriteActionModuleType)

此寫入動作可用來驅動 [電腦無法連線] 監視的狀態。

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
ComputerUp WriteAction Microsoft.SystemCenter.HealthServiceWatcher.SetComputerDownStateActionNoEventContext Default

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.ComputerUp.SetComputerDownMonitor" Accessibility="Internal" Batching="false">
<Configuration/>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="ComputerUp" TypeID="Microsoft.SystemCenter.HealthServiceWatcher.SetComputerDownStateActionNoEventContext">
<HealthServiceId>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher"]/HealthServiceId$</HealthServiceId>
<HealthState>Success</HealthState>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="ComputerUp"/>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>