Admin.AddToRoles Method

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

Namespace: Microsoft.SystemCenter.Foundation.Provider.SpfAdmin
Assembly: Microsoft.SystemCenter.Foundation.Provider (in Microsoft.SystemCenter.Foundation.Provider.dll)

Usage

'Usage
Dim instance As Admin
Dim role As Role

instance.AddToRoles(role)

Syntax

'Declaration
<GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")> _
Public Sub AddToRoles ( _
    role As Role _
)
[GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] 
public void AddToRoles (
    Role role
)
[GeneratedCodeAttribute(L"System.Data.Services.Design", L"1.0.0")] 
public:
void AddToRoles (
    Role^ role
)
/** @attribute GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0") */ 
public void AddToRoles (
    Role role
)
GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0") 
public function AddToRoles (
    role : 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

See Also

Reference

Admin Class
Admin Members
Microsoft.SystemCenter.Foundation.Provider.SpfAdmin Namespace