Reiniciar a Tarefa de Recuperação do Serviço de Estado de Funcionamento (utilizado pelo Explorador de Estado de Funcionamento)

Microsoft.SystemCenter.HealthService.RecoveryTask.RemotelyEnableAndRestartHealthService (Task)

Reiniciar a tarefa de recuperação do Serviço de Estado de Funcionamento que é executado a partir do Servidor de Gestão Principal de um Serviço de Estado de Funcionamento.

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
AccessibilityInternal
CategoryMaintenance
EnabledFalse
RemotableFalse
Timeout60

Member Modules:

ID Module Type TypeId RunAs 
EnableAndStartService WriteAction Microsoft.SystemCenter.HealthService.RecoveryTask.EnableAndStartServiceAction Default

Source Code:

<Task ID="Microsoft.SystemCenter.HealthService.RecoveryTask.RemotelyEnableAndRestartHealthService" Accessibility="Internal" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" Timeout="60" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="EnableAndStartService" TypeID="Microsoft.SystemCenter.HealthService.RecoveryTask.EnableAndStartServiceAction">
<ComputerName>TargetHealthServiceToRestart</ComputerName>
</WriteAction>
</Task>