Computer.InsertPerformanceData Method
Submits custom performance data on behalf of the non-Windows computer.
public void InsertPerformanceData(
CustomPerformanceData[] performanceDataToInsert
);
Parameters
- performanceDataToInsert
The performance data to submit.
Exceptions
Exception Type | Condition |
---|---|
System.UnauthorizedAccessException | The user does not have permissions for these objects or the value of the computer's Type property was not ComputerTypes.NonWindows. |
System.ArgumentNullException | A null reference (Nothing in Visual Basic) was passed to the method. |
Remarks
This method only inserts MOM performance data for programmatically added (non-Windows) computers.
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 | CustomPerformanceData Class