SqlBytes.Stream Property


Gets or sets the data of this SqlBytes as a stream.

 property System::IO::Stream ^ Stream { System::IO::Stream ^ get(); void set(System::IO::Stream ^ value); };
public System.IO.Stream Stream { get; set; }
member this.Stream : System.IO.Stream with get, set
Public Property Stream As Stream

Property Value

The stream that contains the SqlBytes data.


Getting or setting the Stream property loads all the data into memory. Using it with large value data can cause an OutOfMemoryException.

Applies to

See also