(非推奨) 管理構成サービスの状態のチェック

Microsoft.SystemCenter.ConfigService.Diagnostic.QueryConfigService (Diagnostic)

管理構成サービスが実行中かどうかを確認します。

Element properties:

TargetMicrosoft.SystemCenter.RootManagementServer
MonitorMicrosoft.SystemCenter.ConfigurationService.ServiceMonitor
RemotableTrue
Timeout300
Execute On StateError
CategoryMaintenance
Enabledfalse
AccessibilityPublic
CommentQueries both Service State and configuration. If the service doesn't exist or the computer cannot be contacted, State value will reflect this.

Member Modules:

ID Module Type TypeId RunAs 
QueryRemoteHS ProbeAction Microsoft.Windows.ServiceControlManager.QueryService Microsoft.SystemCenter.AgentManagementAccount

Source Code:

<Diagnostic ID="Microsoft.SystemCenter.ConfigService.Diagnostic.QueryConfigService" Comment="Queries both Service State and configuration. If the service doesn't exist or the computer cannot be contacted, State value will reflect this." Accessibility="Public" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.RootManagementServer" Monitor="Microsoft.SystemCenter.ConfigurationService.ServiceMonitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ProbeAction ID="QueryRemoteHS" RunAs="SCLibrary!Microsoft.SystemCenter.AgentManagementAccount" TypeID="Windows!Microsoft.Windows.ServiceControlManager.QueryService">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>OMCFG</ServiceName>
</ProbeAction>
</Diagnostic>