ListModelItemChildren Método
Devuelve una matriz de elementos secundarios del elemento de modelo.
Espacio de nombres: ReportService2010
Ensamblado: ReportService2010 (en ReportService2010.dll)
Sintaxis
'Declaración
<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()
'Uso
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[]
Parámetros
- Model
Tipo: System. . :: . .String
Dirección URL completa del modelo, incluidos el nombre y la extensión de nombre de archivo .smdl.
- ModelItemID
Tipo: System. . :: . .String
Identificador del elemento de modelo para el que recuperar los elementos secundarios.
- Recursive
Tipo: System. . :: . .Boolean
Valor Boolean que indica que se debe devolver el árbol después de este elemento de modelo. El valor predeterminado es false.
Valor devuelto
Tipo: array<ReportService2010. . :: . .ModelItem> [] () [] []
Matriz de objetos ModelItem.
Comentarios
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
|
SharePoint Mode Required Permissions |
ViewListItems()()()() |
If ModelItemID is not specified, child items for the model root are returned.