ReportingService2010.ListModelItemChildren(String, String, Boolean) ReportingService2010.ListModelItemChildren(String, String, Boolean) ReportingService2010.ListModelItemChildren(String, String, Boolean) Method

定义

返回模型项子元素的数组。 Returns an array of model item child elements.

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);
Public Function ListModelItemChildren (Model As String, ModelItemID As String, Recursive As Boolean) As ModelItem()
参数
Model
String String String

模型的完全限定 URL,其中包括文件名和 .smdl 文件扩展名。 The fully qualified URL of the model including the file name and .smdl file name extension.

ModelItemID
String String String

要检索其子项的模型项的标识符。 The identifier of the model item for which to retrieve child items.

Recursive
Boolean Boolean Boolean

一个Boolean,该值指示应在此模型项后返回树。 A Boolean that indicates that the tree after this model item should be returned. 默认值是 false The default value is false.

返回

数组ModelItem对象。 An array of ModelItem objects.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadProperties
SharePoint 模式所需的权限SharePoint Mode Required Permissions ViewListItems

如果ModelItemID是未指定,返回模型根的子项目。If ModelItemID is not specified, child items for the model root are returned.

适用于