次の方法で共有


ReportingService2006.ListModelPerspectives メソッド

ユーザーが利用できるモデルとパースペクティブの一覧を示します。

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

構文

'宣言
Public Function ListModelPerspectives ( _
    Path As String _
) As ModelCatalogItem()
'使用
Dim instance As ReportingService2006 
Dim Path As String 
Dim returnValue As ModelCatalogItem()

returnValue = instance.ListModelPerspectives(Path)
public ModelCatalogItem[] ListModelPerspectives(
    string Path
)
public:
array<ModelCatalogItem^>^ ListModelPerspectives(
    String^ Path
)
member ListModelPerspectives : 
        Path:string -> ModelCatalogItem[] 
public function ListModelPerspectives(
    Path : String
) : ModelCatalogItem[]

パラメーター

  • Path
    型: System.String
    ファイル名と .smdl ファイル名拡張子を含む、モデルの完全修飾 URL です。

戻り値

型: array<ReportService2006.ModelCatalogItem[]
ModelCatalogItem オブジェクトの配列です。

説明

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

SOAP ヘッダー

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

必要な権限

ViewListItems

Path がサイトを指し示している場合、このサイトのユーザーが利用できる各モデルのすべてのパースペクティブが返されます。

Path パラメーターを NULL または空にすることはできません。 Path がサイト コレクションのフォルダーの完全修飾 URL の場合、ListModelPerspectives は、ユーザーがフォルダー直下に "読み取り" 権限を持つすべてのモデルのパースペクティブを返します。

関連項目

参照

ReportingService2006 クラス

ReportService2006 名前空間