Creates custom monitoring objects from the given resolved computer names. Computer names that could not be resolved are not returned. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim computerNames As IList(Of String)
Dim managementGroup As ManagementGroup
Dim returnValue As ReadOnlyCollection(Of CustomMonitoringObject)

returnValue = CustomMonitoringObject.CreateResolvedWindowsComputers(computerNames, managementGroup)

Syntax

Visual Basic
Public Shared Function CreateResolvedWindowsComputers ( _
		computerNames As IList(Of String), _
		managementGroup As ManagementGroup _
) As ReadOnlyCollection(Of CustomMonitoringObject)
C#
public static ReadOnlyCollection<CustomMonitoringObject> CreateResolvedWindowsComputers (
		IList<string> computerNames,
		ManagementGroup managementGroup
)
C++
public:
static ReadOnlyCollection<CustomMonitoringObject^>^ CreateResolvedWindowsComputers (
		IList<String^>^ computerNames, 
		ManagementGroup^ managementGroup
)
J#
public static ReadOnlyCollection<CustomMonitoringObject> CreateResolvedWindowsComputers (
		IList<String> computerNames, 
		ManagementGroup managementGroup
)
JScript
public static function CreateResolvedWindowsComputers (
		computerNames : IList<String>, 
		managementGroup : ManagementGroup
) : ReadOnlyCollection<CustomMonitoringObject>

Parameters

computerNames

The names of the computers to create the custom monitoring objects from.

managementGroup

The Management Group that the monitoring objects are in.

Return Value

Returns a collection of CustomMonitoringObject 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also