ManagementGroup.GetMonitoringDataTypes Method
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.
Retrieves monitoring data types that are defined in this management group.
Overloads
GetMonitoringDataTypes() |
Obsolete.
Retrieves all the data types defined in this management group. |
GetMonitoringDataTypes(ManagementPackDataTypeCriteria) |
Obsolete.
Gets MonitoringDataType based on criteria. |
GetMonitoringDataTypes(ICollection<Guid>) |
Obsolete.
Retrieves the data types in this management group. |
GetMonitoringDataTypes(String) |
Obsolete.
Retrieves data types defined in this management group. |
GetMonitoringDataTypes()
Caution
Please use Monitoring.GetDataTypes()
Retrieves all the data types defined in this management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^> ^ GetMonitoringDataTypes();
[System.Obsolete("Please use Monitoring.GetDataTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType> GetMonitoringDataTypes ();
member this.GetMonitoringDataTypes : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType>
Public Function GetMonitoringDataTypes () As ReadOnlyCollection(Of MonitoringDataType)
Returns
A collection of MonitoringDataType objects.
- Attributes
Applies to
GetMonitoringDataTypes(ManagementPackDataTypeCriteria)
Caution
Please use Monitoring.GetDataTypes()
Gets MonitoringDataType based on criteria.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^> ^ GetMonitoringDataTypes(Microsoft::EnterpriseManagement::Configuration::ManagementPackDataTypeCriteria ^ criteria);
[System.Obsolete("Please use Monitoring.GetDataTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType> GetMonitoringDataTypes (Microsoft.EnterpriseManagement.Configuration.ManagementPackDataTypeCriteria criteria);
member this.GetMonitoringDataTypes : Microsoft.EnterpriseManagement.Configuration.ManagementPackDataTypeCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType>
Public Function GetMonitoringDataTypes (criteria As ManagementPackDataTypeCriteria) As ReadOnlyCollection(Of MonitoringDataType)
Parameters
- criteria
- ManagementPackDataTypeCriteria
The criteria.
Returns
A collection of MonitoringDataType that match the criteria.
- Attributes
Applies to
GetMonitoringDataTypes(ICollection<Guid>)
Caution
Please use Monitoring.GetDataTypes()
Retrieves the data types in this management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^> ^ GetMonitoringDataTypes(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use Monitoring.GetDataTypes()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType> GetMonitoringDataTypes (System.Collections.Generic.ICollection<Guid> ids);
member this.GetMonitoringDataTypes : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType>
Public Function GetMonitoringDataTypes (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of MonitoringDataType)
Parameters
- ids
- ICollection<Guid>
The ids of the types.
Returns
The types.
- Attributes
Applies to
GetMonitoringDataTypes(String)
Caution
Please use Monitoring.GetDataTypes(Guid)
Retrieves data types defined in this management group.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringDataType ^> ^ GetMonitoringDataTypes(System::String ^ typeName);
[System.Obsolete("Please use Monitoring.GetDataTypes(Guid)")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType> GetMonitoringDataTypes (string typeName);
member this.GetMonitoringDataTypes : string -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringDataType>
Public Function GetMonitoringDataTypes (typeName As String) As ReadOnlyCollection(Of MonitoringDataType)
Parameters
- typeName
- String
The data type name.
Returns
An instantiated MonitoringDataType collection.
- Attributes
Exceptions
A MonitoringDataType with that name was not found.
typeName is null.
typeName.Length is 0.