ListModelItemChildren 方法
傳回模型項目子元素的陣列。
命名空間: ReportService2005
組件: ReportService2005 (在 ReportService2005.dll 中)
語法
'宣告
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListModelItemChildren ( _
Model As String, _
ModelItemID As String, _
Recursive As Boolean _
) As ModelItem()
'用途
Dim instance As ReportingService2005
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)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ModelItem[] ListModelItemChildren(
string Model,
string ModelItemID,
bool Recursive
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<ModelItem^>^ ListModelItemChildren(
String^ Model,
String^ ModelItemID,
bool Recursive
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListModelItemChildren", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",
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[]
參數
- Model
型別:System. . :: . .String
要擷取子項目之模型的完整名稱。
- ModelItemID
型別:System. . :: . .String
要擷取子項目之模型項目的識別碼。
- Recursive
型別:System. . :: . .Boolean
指出應該傳回這個模型項目之下的整個樹狀結構。預設值為 false。
傳回值
型別:array<ReportService2005. . :: . .ModelItem> [] () [] []
ModelItem 物件的陣列。
備註
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
If ModelItemID is not specified, child items for the model root are returned.