共用方式為


Roles 屬性

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

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.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<ReportService2006. . :: . .Role> [] () [] []
An array of Role objects.