GetRenderResource 메서드
Returns the resource for a specified rendering extension format.
네임스페이스: ReportExecution2005
어셈블리: ReportExecution2005(ReportExecution2005.dll)
구문
‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetRenderResource", 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)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function GetRenderResource ( _
Format As String, _
DeviceInfo As String, _
<OutAttribute> ByRef MimeType As String _
) As Byte()
‘사용 방법
Dim instance As ReportExecutionService
Dim Format As String
Dim DeviceInfo As String
Dim MimeType As String
Dim returnValue As Byte()
returnValue = instance.GetRenderResource(Format, _
DeviceInfo, MimeType)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetRenderResource", 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)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public byte[] GetRenderResource(
string Format,
string DeviceInfo,
out string MimeType
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetRenderResource", 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)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
array<unsigned char>^ GetRenderResource(
String^ Format,
String^ DeviceInfo,
[OutAttribute] String^% MimeType
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetRenderResource", 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)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member GetRenderResource :
Format:string *
DeviceInfo:string *
MimeType:string byref -> byte[]
public function GetRenderResource(
Format : String,
DeviceInfo : String,
MimeType : String
) : byte[]
매개 변수
- Format
유형: System. . :: . .String
The format of the rendering extension for which to retrieve the resource. A list of supported extensions may be obtained by calling the ListRenderingExtensions method.
- DeviceInfo
유형: System. . :: . .String
The device-specific settings used by the rendering extension.
- MimeType
유형: System. . :: . .String%
The MIME type of the resource.
반환 값
유형: array<System. . :: . .Byte> [] () [] []
The rendering extension resource as a Base 64-encoded byte array.
주의
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
None |
SharePoint Mode Required Permissions |
None |
The DeviceInfo argument passed to this method must be the same as that specified in the call to the Render method.
An example of a rendering resource that is returned by the GetRenderResource method is the plus (+) image, which is used to expand groups in the HTML rendering extension. The resource that the method returns depends on the DeviceInfo parameter that is supplied. For more information about device information settings for rendering extensions, see Reporting Services 장치 정보 설정.