Share via


Computer.ValidateTask Method

Checks whether the task is able to run on the computer.

 public bool ValidateTask(
    Task task
);

Parameters

  • task
    The task to validate.

Remarks

If the task and the computer are not associated with each other, running the task with the Computer.SubmitTask method will fail.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)

See Also

Computer Class | Computer Members | Computer.SubmitTask Method