MonitoringClassInUserRoleScopeNotAllowedException.UserRoleId Property

Gets a globally unique identifier (GUID) for the user role scope that the monitoring class is not allowed in.

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

Usage

'Usage
Dim instance As MonitoringClassInUserRoleScopeNotAllowedException
Dim value As Guid

value = instance.UserRoleId

Syntax

'Declaration
Public ReadOnly Property UserRoleId As Guid
public Guid UserRoleId { get; }
public:
property Guid UserRoleId {
    Guid get ();
}
/** @property */
public Guid get_UserRoleId ()
public function get UserRoleId () : Guid

Property Value

Returns a GUID for the user role scope that the monitoring class is not allowed in.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

MonitoringClassInUserRoleScopeNotAllowedException Class
MonitoringClassInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.