CustomMonitoringObject.CreateResolvedWindowsComputers Method (IList<String>, ManagementGroup)
Applies To: Operations Manager for System Center 2012
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)
Syntax
public static ReadOnlyCollection<CustomMonitoringObject> CreateResolvedWindowsComputers(
IList<string> computerNames,
ManagementGroup managementGroup
)
public:
static ReadOnlyCollection<CustomMonitoringObject^>^ CreateResolvedWindowsComputers(
IList<String^>^ computerNames,
ManagementGroup^ managementGroup
)
static member CreateResolvedWindowsComputers :
computerNames:IList<string> *
managementGroup:ManagementGroup -> ReadOnlyCollection<CustomMonitoringObject>
Public Shared Function CreateResolvedWindowsComputers (
computerNames As IList(Of String),
managementGroup As ManagementGroup
) As ReadOnlyCollection(Of CustomMonitoringObject)
Parameters
computerNames
Type: System.Collections.Generic.IList<String>The names of the computers to create the custom monitoring objects from.
managementGroup
Type: Microsoft.EnterpriseManagement.ManagementGroupThe Management Group that the monitoring objects are in.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<CustomMonitoringObject>
Returns a ReadOnlyCollection<T> of CustomMonitoringObject objects.
See Also
CustomMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top