MonitoringTaskResult.Output Property
Gets the output from the task.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As MonitoringTaskResult
Dim value As String
value = instance.Output
Syntax
'Declaration
Public ReadOnly Property Output As String
public string Output { get; }
public:
property String^ Output {
String^ get ();
}
/** @property */
public String get_Output ()
public function get Output () : String
Property Value
A string that contains the output from the task.
Example
See MonitoringTaskResult for an example of this property.
The output will be in XML and may be similar to:
<DataItem type="System.DiscoveryData" time="2006-12-20T16:21:51.7173808-08:00" sourceHealthServiceI
d="963565DC-A435-2057-D037-D8141E99FFA9"><DiscoveryType>0</DiscoveryType><DiscoverySourceType>0</DiscoverySourceType><Di
scoverySourceObjectId>{A21615AA-A062-80A5-1136-CFEB81D3B8D7}</DiscoverySourceObjectId><DiscoverySourceManagedEntity>{8C0
D2848-8448-D3C8-3801-80140380FA99}</DiscoverySourceManagedEntity><ClassInstances><ClassInstance TypeId="{7B070BC5-0F54-6
663-F840-17AFFA1D6304}"><Settings><Setting><Name>PrincipalName</Name><Value><ServerName></Value></Setting><Setting><Name>NetworkName</Name><Value><ServerName></Value></Setting><Setting><Name>DNSName</Name><Value><ServerName></Value></Setting><Setting><Name>NetbiosDomainName</Name><Value>SMX</Value></Setting><Setting><Name>IPAddress</Name
><Value></Value></Setting><Setting><Name>NetbiosComputerName</Name><Value><ServerName></Value></Setting></Settings></Clas
sInstance></ClassInstances></DataItem>
Remarks
The output of the task. The Output is in XML format
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP
Change History
See Also
Reference
MonitoringTaskResult Class
MonitoringTaskResult Members
Microsoft.EnterpriseManagement.Monitoring Namespace