ManagementGroup.GetMonitoringViewType 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 view types.
Overloads
GetMonitoringViewType(String, ManagementPack) |
Obsolete.
Retrieves a single view type defined in this management group. |
GetMonitoringViewType(Guid) |
Obsolete.
Retrieves a single view type defined in this management group. |
GetMonitoringViewType(String, ManagementPack)
Caution
Please use Presentation.GetViewType()
Retrieves a single view type defined in this management group.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringViewType ^ GetMonitoringViewType(System::String ^ typeName, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use Presentation.GetViewType()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringViewType GetMonitoringViewType (string typeName, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.GetMonitoringViewType : string * Microsoft.EnterpriseManagement.Configuration.ManagementPack -> Microsoft.EnterpriseManagement.Configuration.MonitoringViewType
Public Function GetMonitoringViewType (typeName As String, managementPack As ManagementPack) As MonitoringViewType
Parameters
- typeName
- String
The implementation view type name.
- managementPack
- ManagementPack
The management pack to search for the type in.
Returns
An instantiated ViewType.
- Attributes
Exceptions
A ViewType with that name was not found.
typeName is null.
typeName.Length is 0.
Remarks
A view is a depiction of data with predefined criteria.
Applies to
GetMonitoringViewType(Guid)
Caution
Please use Presentation.GetViewType()
Retrieves a single view type defined in this management group.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringViewType ^ GetMonitoringViewType(Guid id);
[System.Obsolete("Please use Presentation.GetViewType()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringViewType GetMonitoringViewType (Guid id);
member this.GetMonitoringViewType : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringViewType
Public Function GetMonitoringViewType (id As Guid) As MonitoringViewType
Parameters
- id
- Guid
The id of the view type.
Returns
An instantiated ViewType.
- Attributes
Exceptions
A ViewType with that id was not found.
Remarks
A view is a depiction of data with predefined criteria.