Partager via


UserRole.Scope Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the scope of the user role.

Namespace: Microsoft.EnterpriseManagement.Security
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As UserRole
Dim value As UserRoleScope

value = instance.Scope

instance.Scope = value

Syntax

'Declaration
Public Property Scope As UserRoleScope
public UserRoleScope Scope { get; set; }
public:
property UserRoleScope^ Scope {
    UserRoleScope^ get ();
    void set (UserRoleScope^ value);
}
/** @property */
public UserRoleScope get_Scope ()

/** @property */
public void set_Scope (UserRoleScope value)
public function get Scope () : UserRoleScope

public function set Scope (value : UserRoleScope)

Property Value

The scope 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

UserRole Class
UserRole Members
Microsoft.EnterpriseManagement.Security Namespace