Share via


ReportingService2010.ListModelItemChildren(String, String, Boolean) Method

Definition

Returns an array of model item child elements.

public:
 cli::array <ReportService2010::ModelItem ^> ^ ListModelItemChildren(System::String ^ Model, System::String ^ ModelItemID, bool Recursive);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.ModelItem[] ListModelItemChildren (string Model, string ModelItemID, bool Recursive);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelItemChildren", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.ListModelItemChildren : string * string * bool -> ReportService2010.ModelItem[]
Public Function ListModelItemChildren (Model As String, ModelItemID As String, Recursive As Boolean) As ModelItem()

Parameters

Model
String

The fully qualified URL of the model including the file name and .smdl file name extension.

ModelItemID
String

The identifier of the model item for which to retrieve child items.

Recursive
Boolean

A Boolean that indicates that the tree after this model item should be returned. The default value is false.

Returns

An array of ModelItem objects.

Attributes

Remarks

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

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions ReadProperties
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

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

Applies to