ReportingService2010.FindItems 메서드

정의

보고서 서버 데이터베이스 또는 SharePoint 라이브러리에서 검색 조건과 일치하는 항목을 반환합니다.

public:
 cli::array <ReportService2010::CatalogItem ^> ^ FindItems(System::String ^ Folder, ReportService2010::BooleanOperatorEnum BooleanOperator, cli::array <ReportService2010::Property ^> ^ SearchOptions, cli::array <ReportService2010::SearchCondition ^> ^ SearchConditions);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/FindItems", 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.CatalogItem[] FindItems (string Folder, ReportService2010.BooleanOperatorEnum BooleanOperator, ReportService2010.Property[] SearchOptions, ReportService2010.SearchCondition[] SearchConditions);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/FindItems", 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.FindItems : string * ReportService2010.BooleanOperatorEnum * ReportService2010.Property[] * ReportService2010.SearchCondition[] -> ReportService2010.CatalogItem[]
Public Function FindItems (Folder As String, BooleanOperator As BooleanOperatorEnum, SearchOptions As Property(), SearchConditions As SearchCondition()) As CatalogItem()

매개 변수

Folder
String

검색할 폴더의 정규화된 URL입니다. 전체 보고서 서버 데이터베이스를 검색하려면 루트 폴더(/)를 지정합니다.

BooleanOperator
BooleanOperatorEnum

검색 조건에 연결하기 위해 적용되는 논리 연산자입니다. 가능한 값은 ANDOR입니다. 기본값은 AND입니다.

SearchOptions
Property[]

검색 옵션의 이름과 값을 정의하는 Property 개체의 배열입니다.

지원되는 검색 옵션은 다음과 같습니다.

Resursive: 모든 하위 폴더에 대해 재귀 검색을 수행하려면 True로 지정하고, 그렇지 않으면 False로 지정합니다.

SearchConditions
SearchCondition[]

검색할 속성 이름과 값을 정의하는 SearchCondition 개체의 배열입니다.

반환

보고서 서버 데이터베이스에서 지정한 검색 조건에 해당되는 CatalogItem 개체의 배열입니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 None
SharePoint 모드 필수 권한 None

매개 변수의 Folder 길이는 260자를 초과할 수 없습니다. 그렇지 않으면 오류 코드 rsItemLengthExceeded와 함께 SOAP 예외가 throw됩니다.

매개 변수는 Folder null이거나 비어 있거나 예약된 문자를 : ? ; @ & = + $ , \ * > < | . "포함할 수 없습니다. 슬래시 문자(/)를 사용하여 폴더의 전체 경로 이름에 있는 항목을 구분할 수 있지만 폴더 이름 끝에는 사용할 수 없습니다.

검색 조건 집합에서 속성 이름의 instance 하나만 제공할 수 있으며 검색 텍스트는 대/소문자를 구분하지 않습니다.

보고서 서버는 검색 조건 중간에 와일드카드 문자를 지원하지 않습니다. 와일드카드 문자에는 %, _, [, ], ^, -가 포함됩니다. 와일드카드 문자가 있는 경우 보고서 서버는 문자를 문자 그대로 처리합니다.

반환되는 항목은 사용자가 ReadProperties 기본 모드의 사용 권한과 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> SharePoint 통합 모드의 사용 권한만 있는 항목입니다.

SharePoint 모드에서는 리소스가 SharePoint 모드에서 보고서 서버 데이터베이스에 저장되거나 동기화되지 않으므로 이 메서드는 형식 Resource의 항목을 반환하지 않습니다.

적용 대상