ReportingService2010.ListModelItemChildren メソッド
モデル アイテムの子要素の配列を返します。
名前空間: ReportService2010
アセンブリ: ReportService2010 (ReportService2010.dll)
構文
'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListModelItemChildren ( _
Model As String, _
ModelItemID As String, _
Recursive As Boolean _
) As ModelItem()
'使用
Dim instance As ReportingService2010
Dim Model As String
Dim ModelItemID As String
Dim Recursive As Boolean
Dim returnValue As ModelItem()
returnValue = instance.ListModelItemChildren(Model, _
ModelItemID, Recursive)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ModelItem[] ListModelItemChildren(
string Model,
string ModelItemID,
bool Recursive
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<ModelItem^>^ ListModelItemChildren(
String^ Model,
String^ ModelItemID,
bool Recursive
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member ListModelItemChildren :
Model:string *
ModelItemID:string *
Recursive:bool -> ModelItem[]
public function ListModelItemChildren(
Model : String,
ModelItemID : String,
Recursive : boolean
) : ModelItem[]
パラメーター
- Model
型: System.String
ファイル名と .smdl ファイル名拡張子を含む、モデルの完全修飾 URL です。
- ModelItemID
型: System.String
子アイテムを取得するモデル アイテムの識別子です。
- Recursive
型: System.Boolean
このモデル アイテムの後のツリーを返す必要があることを示す Boolean です。 既定値は false です。
戻り値
型: array<ReportService2010.ModelItem[]
ModelItem オブジェクトの配列です。
説明
次の表に、この操作に関連するヘッダーおよび権限の情報を示します。
SOAP ヘッダーの使用方法 |
(Out) ServerInfoHeaderValue |
ネイティブ モードで必要な権限 |
|
SharePoint モードで必要な権限 |
ModelItemID を指定しない場合、モデル ルートの子アイテムが返されます。