Share via


ReportingService2010.ListModelItemChildren 方法

Returns an array of model item child elements.

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

语法

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

返回值

类型: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

ReadProperties

SharePoint Mode Required Permissions

ViewListItems

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

请参阅

参考

ReportingService2010 类

ReportService2010 命名空间