BinaryLogReplayEventSource.OpenReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenReader(String) |
Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader. |
OpenReader(Stream) |
Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader. |
OpenReader(String)
Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.
public:
static System::IO::BinaryReader ^ OpenReader(System::String ^ sourceFilePath);
public static System.IO.BinaryReader OpenReader (string sourceFilePath);
static member OpenReader : string -> System.IO.BinaryReader
Public Shared Function OpenReader (sourceFilePath As String) As BinaryReader
Parameters
- sourceFilePath
- String
Returns
BinaryReader of the given binlog file.
Applies to
OpenReader(Stream)
Creates a BinaryReader for the provided binary log file. Performs decompression and buffering in the optimal way. Caller is responsible for disposing the returned reader.
public:
static System::IO::BinaryReader ^ OpenReader(System::IO::Stream ^ sourceFileStream);
public static System.IO.BinaryReader OpenReader (System.IO.Stream sourceFileStream);
static member OpenReader : System.IO.Stream -> System.IO.BinaryReader
Public Shared Function OpenReader (sourceFileStream As Stream) As BinaryReader
Parameters
- sourceFileStream
- Stream
Stream over the binlog file
Returns
BinaryReader of the given binlog file.