Share via


ReportingService2005.GetUserModel(String, String) 方法

定义

返回当前用户的模型的语义部分。

public:
 cli::array <System::Byte> ^ GetUserModel(System::String ^ Model, System::String ^ Perspective);
public byte[] GetUserModel (string Model, string Perspective);
member this.GetUserModel : string * string -> byte[]
Public Function GetUserModel (Model As String, Perspective As String) As Byte()

参数

Model
String

要检索其用户特定模型定义的模型的完整名称。

Perspective
String

要检索其报表模型的透视的 ID。

返回

Byte[]

一个字节数组,其中包含用户拥有权限的模型的语义部分的 SMDL 定义。 有关这种数据类型的详细信息,请参阅 Microsoft .NET Framework 文档中的“字节结构”。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (Out) ServerInfoHeaderValue
所需的权限 ReadProperties

返回的模型定义仅限于用户有权查看或使用的模型的语义部分。

提供 时 Perspective ,返回的用户模型仅反映用户有权从该角度查看的模型项。

适用于