SQL Tools Service
Show / Hide Table of Contents
Improve this Doc View Source

Struct FileStreamReadResult

Represents a value returned from a read from a file stream. This is used to eliminate ref parameters used in the read methods.

Namespace:Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public struct FileStreamReadResult

Constructors

| Improve this Doc View Source

FileStreamReadResult(DbCellValue, Int32)

Constructs a new FileStreamReadResult

Declaration
public FileStreamReadResult(DbCellValue value, int totalLength)
Parameters
Type Name Description
DbCellValue value

The value of the result, ready for consumption by a client

System.Int32 totalLength

The number of bytes for the used to store the value's length and value

Properties

| Improve this Doc View Source

TotalLength

The total length in bytes of the value, (including the bytes used to store the length of the value)

Remarks

Cell values are stored such that the length of the value is stored first, then the value itself is stored. Eg, a string may be stored as 0x03 0x6C 0x6F 0x6C. Under this system, the value would be "lol", the length would be 3, and the total length would be 4 bytes.

Declaration
public int TotalLength { get; set; }
Type Description
System.Int32
| Improve this Doc View Source

Value

Value of the cell

Declaration
public DbCellValue Value { get; set; }
Type Description
DbCellValue
  • Improve this Doc
  • View Source

© Microsoft  //  Generated with DocFX