ReportExecutionService.RenderStream Method (String, String, String, String, String)
Applies To: SQL Server 2016 Preview
Gets a secondary rendering stream associated with a processed report.
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (in ReportExecution2005.dll)
Syntax
public byte[] RenderStream(
string Format,
string StreamID,
string DeviceInfo,
out string Encoding,
out string MimeType
)
public:
array<unsigned char>^ RenderStream(
String^ Format,
String^ StreamID,
String^ DeviceInfo,
[OutAttribute] String^% Encoding,
[OutAttribute] String^% MimeType
)
member RenderStream :
Format:string *
StreamID:string *
DeviceInfo:string *
Encoding:string byref *
MimeType:string byref -> byte[]
Public Function RenderStream (
Format As String,
StreamID As String,
DeviceInfo As String,
<OutAttribute> ByRef Encoding As String,
<OutAttribute> ByRef MimeType As String
) As Byte()
Parameters
Format
Type: System.StringThe format in which to render the stream. This argument maps to a rendering extension. Supported extensions include XML, NULL, CSV, IMAGE, PDF, HTML4.0, HTML3.2, MHTML, EXCEL, and Word. A list of supported extensions may be obtained by calling the ListRenderingExtensions method.
StreamID
Type: System.StringThe stream identifier.
DeviceInfo
Type: System.StringDescribes device specific content used by the rendering extension.
Encoding
Type: System.String[out]The .NET Framework encoding class name.
MimeType
Type: System.String[out]The MIME type of the stream.
Return Value
Type: System.Byte[]
A Byte[] array of the stream in the specified format. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.
Remarks
The table below shows header and permissions information on this operation.
SOAP Header Usage |
(In) ExecutionHeaderValue (Out) ServerInfoHeaderValue |
Native Mode Required Permissions |
None |
SharePoint Mode Required Permissions |
None |
Secondary streams are available to provide additional resources that may be needed by a custom rendering extension to render a report.
Examples of secondary streams can include images and charts, and CSS style sheets.
See Also
ReportExecutionService Class
ReportExecution2005 Namespace
Return to top