ManagementGroup.GetMonitoringUserRole Method

System Center
Retrieves the monitoring user role value that has the specified GUID.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Dim instance As ManagementGroup
Dim userRoleId As Guid
Dim returnValue As MonitoringUserRole

returnValue = instance.GetMonitoringUserRole(userRoleId)

public MonitoringUserRole GetMonitoringUserRole (
	Guid userRoleId
public MonitoringUserRole GetMonitoringUserRole (
	Guid userRoleId
public function GetMonitoringUserRole (
	userRoleId : Guid
) : MonitoringUserRole



The GUID of the monitoring user role to get.

Return Value

A MonitoringUserRole object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Send comments about this topic to Microsoft.