次の方法で共有


ListModelItemChildren メソッド

モデル アイテムの子要素の配列を返します。

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

構文

'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListModelItemChildren ( _
    Model As String, _
    ModelItemID As String, _
    Recursive As Boolean _
) As ModelItem()
'使用
Dim instance As ReportingService2005
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)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ModelItem[] ListModelItemChildren(
    string Model,
    string ModelItemID,
    bool Recursive
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<ModelItem^>^ ListModelItemChildren(
    String^ Model, 
    String^ ModelItemID, 
    bool Recursive
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    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[]

パラメーター

  • ModelItemID
    型: System. . :: . .String
    子アイテムを取得するモデル アイテムの識別子です。
  • Recursive
    型: System. . :: . .Boolean
    このモデル アイテムの下のツリー全体を返すかどうかを示します。既定値は false です。

戻り値

型: array<ReportService2005. . :: . .ModelItem> [] () [] []
ModelItem オブジェクトの配列です。

説明

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

SOAP ヘッダー

(Out) ServerInfoHeaderValue

必要な権限

ReadProperties

ModelItemID を指定しない場合、モデル ルートの子アイテムが返されます。