TraceReader.GetStream Method

Gets the stream of data.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Function GetStream ( _
    ordinal As Integer _
) As Stream
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Stream 

returnValue = instance.GetStream(ordinal)
public Stream GetStream(
    int ordinal
)
public:
Stream^ GetStream(
    int ordinal
)
member GetStream : 
        ordinal:int -> Stream
public function GetStream(
    ordinal : int
) : Stream

Parameters

  • ordinal
    Type: System.Int32
    An Int32 value that specifies the column position at which to retrieve the data.

Return Value

Type: System.IO.Stream
A Stream system object value that specifies the data stream at the column position.

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions