ReportingService2010.ListModelItemChildren Method

Returns an array of model item child elements.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)


<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    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)]
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ModelItem[] ListModelItemChildren(
    string Model,
    string ModelItemID,
    bool Recursive
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
array<ModelItem^>^ ListModelItemChildren(
    String^ Model, 
    String^ ModelItemID, 
    bool Recursive
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    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
    Type: System.String
    The fully qualified URL of the model including the file name and .smdl file name extension.
  • ModelItemID
    Type: System.String
    The identifier of the model item for which to retrieve child items.
  • Recursive
    Type: System.Boolean
    A Boolean that indicates that the tree after this model item should be returned. The default value is false.

Return Value

Type: array<ReportService2010.ModelItem[]
An array of ModelItem objects.


The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions


If ModelItemID is not specified, child items for the model root are returned.

See Also


ReportingService2010 Class

ReportService2010 Namespace