Share via


ComputerHealthService.GetPrimaryManagementServer Method

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

Gets the primary Management Server for the health Service.

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

Usage

'Usage
Dim instance As ComputerHealthService
Dim returnValue As ManagementServer

returnValue = instance.GetPrimaryManagementServer

Syntax

'Declaration
Public Function GetPrimaryManagementServer As ManagementServer
public ManagementServer GetPrimaryManagementServer ()
public:
ManagementServer^ GetPrimaryManagementServer ()
public ManagementServer GetPrimaryManagementServer ()
public function GetPrimaryManagementServer () : ManagementServer

Return Value

Returns a ManagementServer object.

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

ComputerHealthService Class
ComputerHealthService Members
Microsoft.EnterpriseManagement.Administration Namespace