TaskResult Class

Definition

Represents a MOM MonitoringTaskResult.

public ref class TaskResult : Microsoft::EnterpriseManagement::Common::MonitoringBaseWithId
[System.Serializable]
public class TaskResult : Microsoft.EnterpriseManagement.Common.MonitoringBaseWithId
type TaskResult = class
    inherit MonitoringBaseWithId
Public Class TaskResult
Inherits MonitoringBaseWithId
Inheritance
Attributes

Properties

BatchId

Gets the batch ID of the task that ran.

ErrorCode

Gets the error code.

ErrorMessage

Gets the error message.

Id

Gets the unique identifier for the connected object.

(Inherited from MonitoringBaseWithId)
LastModified

Gets the time this result was last modified.

LocationId

Gets the location of the task that ran.

ManagementGroup

Gets the management group that the object is in.

(Inherited from MonitoringBase)
ManagementGroupId

Gets the unique identifier of the management group that owns this object.

(Inherited from MonitoringBase)
Output

Gets the output of the task.

RunningAs

Gets who the task is running as.

Status

Gets the latest status of the task.

SubmittedBy

Gets who the task was submitted by.

TargetClassId

Gets the target class of the task.

TargetObjectId

Gets the target of the task.

TaskId

Gets the ID of the task that ran.

TimeFinished

Gets the time this task was finished.

TimeScheduled

Gets the time this task was scheduled to run.

TimeStarted

Gets the time this task was run.

Methods

Equals(Object)

Compares this object with a specified object for equality.

(Inherited from MonitoringBaseWithId)
GetHashCode()

Returns the hash code for this object.

(Inherited from MonitoringBaseWithId)
Reconnect(EnterpriseManagementGroup)

Reconnects the specified management group.

SetId(Guid)

Sets the connected object by specifying the unique identifier.

(Inherited from MonitoringBaseWithId)
ToString()

Returns the relevant display string for the object.

(Inherited from MonitoringBase)

Operators

Implicit(TaskResult to MonitoringTaskResult)

Performs an implicit conversion from TaskResult to MonitoringTaskResult.

Applies to