ListModelItemChildren 方法
Returns an array of model item child elements.
命名空間: ReportService2006
組件: ReportService2006 (在 ReportService2006.dll 中)
語法
'宣告
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListModelItemChildren ( _
Model As String, _
ModelItemID As String, _
Recursive As Boolean _
) As ModelItem()
'用途
Dim instance As ReportingService2006
Dim Model As String
Dim ModelItemID As String
Dim Recursive As Boolean
Dim returnValue As ModelItem()
returnValue = instance.ListModelItemChildren(Model, _
ModelItemID, Recursive)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public ModelItem[] ListModelItemChildren(
string Model,
string ModelItemID,
bool Recursive
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
array<ModelItem^>^ ListModelItemChildren(
String^ Model,
String^ ModelItemID,
bool Recursive
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
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<ReportService2006. . :: . .ModelItem> [] () [] []
An array of ModelItem objects.
備註
If ModelItemID is not specified, child items for the model root are returned.