Export (0) Print
Expand All

ReportExecutionService.GetRenderResource Method (String, String, String)


Applies To: SQL Server 2016 Preview

Returns the resource for a specified rendering extension format.

Namespace:   ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

public byte[] GetRenderResource(
	string Format,
	string DeviceInfo,
	out string MimeType


Type: 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.

Type: System.String

The device-specific settings used by the rendering extension.

Type: System.String

The MIME type of the resource.

Return Value

Type: 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

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions


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 Passing Device Information Settings to Rendering Extensions.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft