Share via


ReportingService2006.ListModelItemChildren Method

Returns an array of model item child elements.

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

Syntax

'Declaration
Public Function ListModelItemChildren ( _
    Model As String, _
    ModelItemID As String, _
    Recursive As Boolean _
) As ModelItem()
'Usage
Dim instance As ReportingService2006 
Dim Model As String 
Dim ModelItemID As String 
Dim Recursive As Boolean 
Dim returnValue As ModelItem()

returnValue = instance.ListModelItemChildren(Model, _
    ModelItemID, Recursive)
public ModelItem[] ListModelItemChildren(
    string Model,
    string ModelItemID,
    bool Recursive
)
public:
array<ModelItem^>^ ListModelItemChildren(
    String^ Model, 
    String^ ModelItemID, 
    bool Recursive
)
member ListModelItemChildren : 
        Model:string * 
        ModelItemID:string * 
        Recursive:bool -> ModelItem[] 
public function ListModelItemChildren(
    Model : String, 
    ModelItemID : String, 
    Recursive : boolean
) : ModelItem[]

Parameters

  • 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<ReportService2006.ModelItem[]
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

ViewListItems

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

See Also

Reference

ReportingService2006 Class

ReportService2006 Namespace