Share via


InvalidMonitoringTaskInUserRoleScopeException.UserRoleId Property

Gets the identifier of the User Role with the invalid Task in its scope that caused the exception.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As InvalidMonitoringTaskInUserRoleScopeException
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 the Guid identifier of the User Role.

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

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidMonitoringTaskInUserRoleScopeException Class
InvalidMonitoringTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace