次の方法で共有


ReportingService2005.GetUserModel メソッド

現在のユーザーのモデルのセマンティック部分を返します。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
Public Function GetUserModel ( _
    Model As String, _
    Perspective As String _
) As Byte()
'使用
Dim instance As ReportingService2005 
Dim Model As String 
Dim Perspective As String 
Dim returnValue As Byte()

returnValue = instance.GetUserModel(Model, _
    Perspective)
public byte[] GetUserModel(
    string Model,
    string Perspective
)
public:
array<unsigned char>^ GetUserModel(
    String^ Model, 
    String^ Perspective
)
member GetUserModel : 
        Model:string * 
        Perspective:string -> byte[] 
public function GetUserModel(
    Model : String, 
    Perspective : String
) : byte[]

パラメーター

  • Model
    型: System.String
    ユーザー固有のモデル定義を取得するモデルの完全な名前です。
  • Perspective
    型: System.String
    レポート モデルを取得するパースペクティブの ID です。

戻り値

型: array<System.Byte[]
ユーザーが権限を持っているモデルのセマンティック部分の SMDL 定義を表すバイト配列です。このデータ型の詳細については、Microsoft .NET Framework のドキュメントの「Byte 構造体」を参照してください。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー

(Out) ServerInfoHeaderValue

必要な権限

ReadProperties

返されるモデル定義は、モデルの、ユーザーが表示または使用する権限を持っているセマンティック部分に制限されます。

Perspective を指定すると、返されるユーザー モデルには、ユーザーがそのパースペクティブで表示する権限を持っているモデル アイテムだけが反映されます。

関連項目

参照

ReportingService2005 クラス

ReportService2005 名前空間

その他の技術情報

モデル デザイナーでのパースペクティブの処理