ManagementGroup.GetMonitoringDataType Method (String, ManagementPack)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a monitoring data type that matches the specified name and is contained in the specified management pack.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Monitoring.GetDataType()")]
public MonitoringDataType GetMonitoringDataType(
string typeName,
ManagementPack managementPack
)
public:
[ObsoleteAttribute("Please use Monitoring.GetDataType()")]
MonitoringDataType^ GetMonitoringDataType(
String^ typeName,
ManagementPack^ managementPack
)
[<ObsoleteAttribute("Please use Monitoring.GetDataType()")>]
member GetMonitoringDataType :
typeName:string *
managementPack:ManagementPack -> MonitoringDataType
<ObsoleteAttribute("Please use Monitoring.GetDataType()")>
Public Function GetMonitoringDataType (
typeName As String,
managementPack As ManagementPack
) As MonitoringDataType
Parameters
typeName
Type: System.StringThe name of the data type to get.
managementPack
Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackThe management pack that contains the monitoring data type.
Return Value
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringDataType
Returns aMonitoringDataType value.
See Also
GetMonitoringDataType Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top