ReportingService2006.SetReportDefinition(String, Byte[]) 메서드

정의

지정된 보고서에 대해 보고서 정의를 설정합니다.

public:
 cli::array <ReportService2006::Warning ^> ^ SetReportDefinition(System::String ^ Report, cli::array <System::Byte> ^ Definition);
public ReportService2006.Warning[] SetReportDefinition (string Report, byte[] Definition);
member this.SetReportDefinition : string * byte[] -> ReportService2006.Warning[]
Public Function SetReportDefinition (Report As String, Definition As Byte()) As Warning()

매개 변수

Report
String

파일 이름과 .rdl 파일 이름 확장명을 포함하는 보고서의 정규화된 URL입니다.

Definition
Byte[]

등록할 보고서 정의입니다. XML 데이터는 보고서 정의 언어 로 http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition/ 정의됩니다.

반환

보고서 정의의 유효성을 검사할 때 발생한 경고를 설명하는 Warning 개체의 배열입니다.

설명

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

SOAP 헤더 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems>

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

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

보고서의 보고서 정의를 변경하면 보고서의 , ModifiedDateSize 속성이 수정됩니다ModifiedBy. 속성은 Description 영향을 받지 않습니다. 실행 설정 및 기존 스냅샷은 보고서에 대해 변경되지 않은 상태로 유지됩니다.

적용 대상