共用方式為


ReportingService2005.ListRoles 方法

Returns the names and descriptions of roles that the report server manages.

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

語法

'宣告
Public Function ListRoles ( _
    SecurityScope As SecurityScopeEnum _
) As Role()
'用途
Dim instance As ReportingService2005 
Dim SecurityScope As SecurityScopeEnum 
Dim returnValue As Role()

returnValue = instance.ListRoles(SecurityScope)
public Role[] ListRoles(
    SecurityScopeEnum SecurityScope
)
public:
array<Role^>^ ListRoles(
    SecurityScopeEnum SecurityScope
)
member ListRoles : 
        SecurityScope:SecurityScopeEnum -> Role[] 
public function ListRoles(
    SecurityScope : SecurityScopeEnum
) : Role[]

參數

傳回值

型別:array<ReportService2005.Role[]
An array of Role objects that contains a collection of information about roles, filtered by the supplied SecurityScopeEnum value.

備註

The table below shows header and permissions information on this operation.

SOAP Headers

(Out) ServerInfoHeaderValue

Required Permissions

None

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間