MultipleUsersInSystemUserRoleException Class

Represents the exception that is thrown because the Administrator user role cannot have multiple users assigned to it. It must have one user assigned to it.

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

Usage

'Usage
Dim instance As MultipleUsersInSystemUserRoleException

Syntax

'Declaration
<SerializableAttribute> _
<KnownTypeAttribute(GetType(Integer))> _
<KnownTypeAttribute(GetType(String))> _
<KnownTypeAttribute(GetType(Guid))> _
Public Class MultipleUsersInSystemUserRoleException
    Inherits EnterpriseManagementException
[SerializableAttribute] 
[KnownTypeAttribute(typeof(int))] 
[KnownTypeAttribute(typeof(string))] 
[KnownTypeAttribute(typeof(Guid))] 
public class MultipleUsersInSystemUserRoleException : EnterpriseManagementException
[SerializableAttribute] 
[KnownTypeAttribute(typeof(int))] 
[KnownTypeAttribute(typeof(String))] 
[KnownTypeAttribute(typeof(Guid))] 
public ref class MultipleUsersInSystemUserRoleException : public EnterpriseManagementException
/** @attribute SerializableAttribute() */ 
/** @attribute KnownTypeAttribute(System.Int32) */ 
/** @attribute KnownTypeAttribute(System.String) */ 
/** @attribute KnownTypeAttribute(System.Guid) */ 
public class MultipleUsersInSystemUserRoleException extends EnterpriseManagementException
SerializableAttribute 
KnownTypeAttribute(System.Int32) 
KnownTypeAttribute(System.String) 
KnownTypeAttribute(System.Guid) 
public class MultipleUsersInSystemUserRoleException extends EnterpriseManagementException

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.EnterpriseManagement.Common.MonitoringException
       Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
        Microsoft.EnterpriseManagement.Common.MultipleUsersInSystemUserRoleException

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

MultipleUsersInSystemUserRoleException Members
Microsoft.EnterpriseManagement.Common Namespace