共用方式為


Policy.Roles 屬性

Gets or sets the roles associated with the group or user.

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property Roles As Role()
    Get 
    Set
'用途
Dim instance As Policy 
Dim value As Role()

value = instance.Roles

instance.Roles = value
public Role[] Roles { get; set; }
public:
property array<Role^>^ Roles {
    array<Role^>^ get ();
    void set (array<Role^>^ value);
}
member Roles : Role[] with get, set
function get Roles () : Role[]
function set Roles (value : Role[])

屬性值

型別:array<ReportService2010.Role[]
An array of Role objects.

請參閱

參考

Policy 類別

ReportService2010 命名空間