ReportingService2010.ListModelItemChildren(String, String, Boolean) Méthode

Définition

Retourne un tableau d'éléments enfants d'un élément de modèle.

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

Paramètres

Model
String

URL complète du modèle, y compris le nom de fichier et l'extension de nom de fichier .smdl.

ModelItemID
String

Identificateur de l'élément de modèle pour lequel les éléments enfants doivent être récupérés.

Recursive
Boolean

Boolean qui indique s'il faut retourner l'arborescence après cet élément de modèle. La valeur par défaut est false.

Retours

Tableau d'objets ModelItem.

Attributs

Remarques

Le tableau suivant présente les informations relatives aux en-têtes et aux autorisations sur cette opération.

Utilisation de l’en-tête SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorisations requises en mode natif ReadProperties
Autorisations requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>

Si ModelItemID n’est pas spécifié, les éléments enfants de la racine du modèle sont retournés.

S’applique à