ReportingService2006.ListModelItemChildren(String, String, Boolean) Method

Definition

Returns an array of model item child elements.

public:
 cli::array <ReportService2006::ModelItem ^> ^ ListModelItemChildren(System::String ^ Model, System::String ^ ModelItemID, bool Recursive);
public ReportService2006.ModelItem[] ListModelItemChildren (string Model, string ModelItemID, bool Recursive);
member this.ListModelItemChildren : string * string * bool -> ReportService2006.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.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

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

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

Applies to