ReportingService2010.ListModelItemChildren(String, String, Boolean) 方法

定义

返回模型项子元素的数组。

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()

参数

Model
String

模型的完全限定 URL,其中包括文件名和 .smdl 文件扩展名。

ModelItemID
String

要检索其子项的模型项的标识符。

Recursive
Boolean

一个Boolean,该值指示应在此模型项后返回树。 默认值为 false

返回

一个 ModelItem 对象数组。

属性

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头用法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
本机模式所需权限 ReadProperties
SharePoint 模式所需权限 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

如果未 ModelItemID 指定 ,则返回模型根的子项。

适用于