Share via


ComputerQuery.GetComputerByNameAndDomain Method

Retrieves a computer matching the specified domain and name.

 public Computer GetComputerByNameAndDomain(
    String name,
    String domain
);

Parameters

  • name
    The name of the computer.
  • domain
    The domain of the computer.

Return Value

The specified Computer.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires Microsoft Operations Manager 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)

See Also

ComputerQuery Class | ComputerQuery Members