ReportingService2005.SetCacheOptions 메서드

정의

보고서에 대한 캐싱을 구성하고 캐시된 보고서 복사본의 만료 시점을 지정하는 설정을 제공합니다.

public:
 void SetCacheOptions(System::String ^ Report, bool CacheReport, ReportService2005::ExpirationDefinition ^ Item);
public void SetCacheOptions (string Report, bool CacheReport, ReportService2005.ExpirationDefinition Item);
member this.SetCacheOptions : string * bool * ReportService2005.ExpirationDefinition -> unit
Public Sub SetCacheOptions (Report As String, CacheReport As Boolean, Item As ExpirationDefinition)

매개 변수

Report
String

보고서의 전체 경로 이름입니다.

CacheReport
Boolean

실행된 보고서의 복사본이 캐시에 위치하는지 여부를 나타내는 Boolean 값입니다. 기본값은 false입니다.

Item
ExpirationDefinition

캐시에 있는 보고서의 일정 또는 만료 시간을 나타내는 ExpirationDefinition 개체입니다.

설명

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

SOAP 헤더 (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 UpdatePolicy

가 로 설정된 경우 CacheReport 의 값을 nullItem (Visual Basic에서는 )로Nothing 설정합니다. 오류가 발생false합니다. 가 로 true설정된 경우 CacheReport 에 대한 Item값을 제공해야 합니다. 그렇지 않으면 오류가 발생합니다.

메서드는 SetCacheOptions 보고서의 실행 옵션이 로 설정된 경우에만 호출할 Live수 있습니다. 프로그래밍 방식으로 실행 옵션을 설정하는 방법에 대한 자세한 내용은 를 참조하세요 SetExecutionOptions.

적용 대상