語言

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 標頭 (出局) ServerInfoHeaderValue
必要權限 ReadProperties

回傳的模型定義僅限於使用者有權限查看或使用的模型語義部分。

當 Perspective 提供時,回傳的使用者模型僅反映使用者在該視角中有權限查看的模型項目。

適用於