Share via


DataWarehouse.GetMonitoringRules Method (IList, String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the monitoring rule information objects from the specified monitoring rules in the specified language.

Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As DataWarehouse
Dim monitoringRuleGuids As IList(Of Guid)
Dim languageCode As String
Dim returnValue As ReadOnlyCollection(Of MonitoringRuleInfo)

returnValue = instance.GetMonitoringRules(monitoringRuleGuids, languageCode)

Syntax

'Declaration
Public Function GetMonitoringRules ( _
    monitoringRuleGuids As IList(Of Guid), _
    languageCode As String _
) As ReadOnlyCollection(Of MonitoringRuleInfo)
public ReadOnlyCollection<MonitoringRuleInfo> GetMonitoringRules (
    IList<Guid> monitoringRuleGuids,
    string languageCode
)
public:
ReadOnlyCollection<MonitoringRuleInfo^>^ GetMonitoringRules (
    IList<Guid>^ monitoringRuleGuids, 
    String^ languageCode
)
public ReadOnlyCollection<MonitoringRuleInfo> GetMonitoringRules (
    IList<Guid> monitoringRuleGuids, 
    String languageCode
)
public function GetMonitoringRules (
    monitoringRuleGuids : IList<Guid>, 
    languageCode : String
) : ReadOnlyCollection<MonitoringRuleInfo>

Parameters

  • monitoringRuleGuids
    A list of GUIDs for the monitoring rules to get the monitoring rules from.
  • languageCode
    The language code for the language in which the information is returned.

Return Value

Returns a ReadOnlyCollection of MonitoringRuleInfo objects.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

DataWarehouse Class
DataWarehouse Members
Microsoft.EnterpriseManagement.Warehouse Namespace