Share via


Report.CreateChunk Method

Creates a stream for a chunk of the rendered report.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Function CreateChunk ( _
    type As Report.ChunkTypes, _
    chunkName As String _
) As Stream
'Usage
Dim instance As Report 
Dim type As Report.ChunkTypes 
Dim chunkName As String 
Dim returnValue As Stream 

returnValue = instance.CreateChunk(type, _
    chunkName)
public Stream CreateChunk(
    Report.ChunkTypes type,
    string chunkName
)
public:
Stream^ CreateChunk(
    Report.ChunkTypes type, 
    String^ chunkName
)
member CreateChunk : 
        type:Report.ChunkTypes * 
        chunkName:string -> Stream
public function CreateChunk(
    type : Report.ChunkTypes, 
    chunkName : String
) : Stream

Parameters

Return Value

Type: System.IO.Stream
A Stream object.

See Also

Reference

Report Class

Microsoft.ReportingServices.OnDemandReportRendering Namespace