Initializes a new MonitoringObjectInUserRoleScopeNotAllowedException object by specifying a user role identifier. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim userRoleId As Guid

Dim instance As New MonitoringObjectInUserRoleScopeNotAllowedException(userRoleId)

Syntax

Visual Basic
Public Sub New ( _
		userRoleId As Guid _
)
C#
public MonitoringObjectInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
C++
public:
MonitoringObjectInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
J#
public MonitoringObjectInUserRoleScopeNotAllowedException (
		Guid userRoleId
)
JScript
public function MonitoringObjectInUserRoleScopeNotAllowedException (
		userRoleId : Guid
)

Parameters

userRoleId

A globally unique identifier (GUID) for the user role that the monitoring object is not allowed in.

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