Freigeben über


ListModelItemChildren-Methode

Gibt ein Array untergeordneter Elemente von Modellelementen zurück.

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

Syntax

'Declaration
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
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)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public ModelItem[] ListModelItemChildren(
    string Model,
    string ModelItemID,
    bool Recursive
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<ModelItem^>^ ListModelItemChildren(
    String^ Model, 
    String^ ModelItemID, 
    bool Recursive
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member ListModelItemChildren : 
        Model:string * 
        ModelItemID:string * 
        Recursive:bool -> ModelItem[] 
public function ListModelItemChildren(
    Model : String, 
    ModelItemID : String, 
    Recursive : boolean
) : ModelItem[]

Parameter

  • Model
    Typ: System. . :: . .String
    Die vollqualifizierte URL des Modells einschließlich des Dateinamens und der Dateinamenerweiterung (.smdl).
  • ModelItemID
    Typ: System. . :: . .String
    Der Bezeichner des Modellelements, für das untergeordnete Elemente abgerufen werden sollen.
  • Recursive
    Typ: System. . :: . .Boolean
    Ein Boolean-Wert, der angibt, dass die Struktur nach diesem Modellelement zurückgegeben werden soll. Der Standardwert ist false.

Rückgabewert

Typ: array<ReportService2006. . :: . .ModelItem> [] () [] []
Ein Array von ModelItem-Objekten.

Hinweise

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.