SqlBytes.Stream 屬性

定義

取得或將這個 SqlBytes 的資料設定為資料流。Gets or sets the data of this SqlBytes as a stream.

public:
 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

屬性值

包含 SqlBytes 資料的資料流。The stream that contains the SqlBytes data.

備註

取得或設定 Stream 屬性會將所有資料載入記憶體中。Getting or setting the Stream property loads all the data into memory. 將它與大數值資料搭配使用,可能會導致 OutOfMemoryExceptionUsing it with large value data can cause an OutOfMemoryException.

適用於

另請參閱