MonitoringTaskResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use TaskResult
This class is obsolete. Please use TaskResult instead.
public ref class MonitoringTaskResult : Microsoft::EnterpriseManagement::Common::MonitoringBaseWithId
[System.Obsolete("Use TaskResult")]
[System.Serializable]
public class MonitoringTaskResult : Microsoft.EnterpriseManagement.Common.MonitoringBaseWithId
type MonitoringTaskResult = class
inherit MonitoringBaseWithId
Public Class MonitoringTaskResult
Inherits MonitoringBaseWithId
- Inheritance
- Attributes
Properties
BatchId |
Gets the GUID for the batch of the task that ran. |
ErrorCode |
Gets the error code for the monitoring task. |
ErrorMessage |
Gets the error message for the monitoring task. |
Id |
Gets the unique identifier for the connected object. (Inherited from MonitoringBaseWithId) |
LastModified |
Gets the time, in DateTime format, that the monitoring task was last modified. |
LocationId |
Gets the GUID for the location that the task 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) |
MonitoringTaskId |
Gets the GUID for the task that ran. |
Output |
Gets the output from the task. |
RunningAs |
Gets the user name of the user account that the task ran under. |
Status |
Gets the latest status of the task. |
SubmittedBy |
Gets the user name of the user who submitted the task. |
TargetMonitoringClassId |
Gets the GUID for the target class of the task. |
TargetMonitoringObjectId |
Gets the GUID for the target monitoring object of the task. |
TimeFinished |
Gets the time, in DateTime format, that the task finished running. |
TimeScheduled |
Gets the time, in DateTime format, that the task was scheduled to run. |
TimeStarted |
Gets the time, in DateTime format, that the task started to 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(MonitoringTaskResult to TaskResult) |
Performs an implicit conversion from MonitoringTaskResult to TaskResult. |