Partilhar via


Policy.Roles Property

Gets or sets the roles that are associated with a group or user.

Namespace: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
Assembly: ReportService2005 (in reportingservice2005.dll)

Syntax

'Declaration
Public Property Roles As Role()
public Role[] Roles { get; set; }
public:
property array<Role^>^ Roles {
    array<Role^>^ get ();
    void set (array<Role^>^ value);
}
/** @property */
public Role[] get_Roles ()

/** @property */
public void set_Roles (Role[] value)
public function get Roles () : Role[]

public function set Roles (value : Role[])

Property Value

An array of Role objects.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Policy Class
Policy Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace