ReportingService2005.CreateReportEditSession Method

[이 항목은 시험판 문서이며 이후 릴리스에서 변경될 수 있습니다. 빈 항목은 자리 표시자로 포함되어 있습니다. 알림: Microsoft에서는 더 많은 내용을 한국어로 제공하기 위해서 번역가가 번역하는 전통적인 방식 이외에도 다양한 기술을 이용하여 번역한 자료를 제공하고 있습니다. SQL Server 2008 R2의 시험판 제품에 포함된 일부 문서 역시 이런 기술을 사용하여 번역되었습니다. 이 문서는 번역가가 작업한 문서에 비하여 완성도가 떨어질 수 있으며 잘못된 단어, 구문, 문법 등의 실수를 포함할 수 있습니다. Microsoft에서는 이런 문제점들을 잘 알고 있으며 문제 개선을 위하여 노력하고 있습니다. 최종 버전에 포함될 문서는 전통적인 번역 방식을 통해 번역될 예정이므로 SQL Server 2008에서 제공된 것과 같은 수준의 번역된 문서를 사용하실 수 있을 것입니다.

Creates a new report edit session in the report server database.

네임스페이스: ReportService2005
어셈블리: ReportService2005 (in reportservice2005.dll)

구문

‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/CreateReportEditSession", 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)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction:=SoapHeaderDirection.Out)> _
Public Function CreateReportEditSession ( _
    Report As String, _
    Parent As String, _
    Definition As Byte() _
) As String
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/CreateReportEditSession", 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)] 
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out)] 
public string CreateReportEditSession (
    string Report,
    string Parent,
    byte[] Definition
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/CreateReportEditSession", 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)] 
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction=SoapHeaderDirection::Out)] 
public:
String^ CreateReportEditSession (
    String^ Report, 
    String^ Parent, 
    array<unsigned char>^ Definition
)
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/CreateReportEditSession", 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) */ 
/** @attribute SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) */ 
public String CreateReportEditSession (
    String Report, 
    String Parent, 
    byte[] Definition
)
SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/CreateReportEditSession", 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) 
SoapHeaderAttribute("ServerInfoHeaderValue", Direction=SoapHeaderDirection.Out) 
public function CreateReportEditSession (
    Report : String, 
    Parent : String, 
    Definition : byte[]
) : String

매개 변수

  • Report
    The name of the report with which to associate the edit session.
  • Parent
    The path to an item. This can be a folder or a SharePoint library.
  • Definition
    A byte array that contains the report definition language (RDL) of the report associated with the edit session.

반환 값

A string that identifies the edit session.

주의

An error occurs if the specified folder or document library does not exist.

If the report specified in the Name parameter does not exist at the specified location, the value of Name sets the Globals!ReportName in the RDL for the edit session.

Call the DeleteItem method to delete the report edit session, passing the EditSessionID as a parameter to the DeleteItem method.

Definition cannot include an expression-based connection string. When it does, the rsInvalidParameterValue is returned by this method.

By default, report edit sessions are set to 7200 seconds (2 hours) from last use, making it possible for users to keep a large amount of data in the cache for a prolonged period of time. In some usage patterns, this could lead to a larger load on the RSTempDB database and the report server. In these cases you should consider using LoadReport.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, 지원되는 플랫폼 목록은 SQL Server 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0

참고 항목

참조

ReportingService2005 Class
ReportingService2005 Members
ReportService2005 Namespace