Syntax

C#
public class SqlBlobStream
Visual Basic (Declaration)
Public Class SqlBlobStream

The type exposes the following members.

Public Constructors

  NameDescription
Public methodSqlBlobStreamSqlBlobStreamNewOverloaded.

Public Methods

  NameDescription
Public methodBeginRead
Begins an asynchronous read operation.
(Inherited from Stream.)
Public methodBeginWrite
Begins an asynchronous write operation.
(Inherited from Stream.)
Public methodClose
Overridden. Closes the file and releases any resources associated with the current file stream.
(Overrides Stream..::Close()().)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
Public methodEndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
Overridden. Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides Stream..::Flush()().)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodOpen
Opens the closed connection.
Public methodRead
Overridden. Reads a block of bytes from the stream and writes the data in a given buffer.
(Overrides Stream..::Read(array<Byte>[](), Int32, Int32).)
Public methodReadByte
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream.)
Public methodSeek
Overridden. Sets the current position of this stream to the given value.
(Overrides Stream..::Seek(Int64, SeekOrigin).)
Public methodSetLength
Overridden. Sets the length of this stream to the given value.
(Overrides Stream..::SetLength(Int64).)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWrite
Overridden. Writes a block of bytes to this stream using data from a buffer.
(Overrides Stream..::Write(array<Byte>[](), Int32, Int32).)
Public methodWriteByte
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream.)

Protected Methods

  NameDescription
Protected methodCreateWaitHandle Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Protected methodDispose
Releases the resources used by the SqlBlobStream.
(Overrides Stream..::Dispose(Boolean).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetDataLength
Gets the selected element's data length.
Protected methodGetDataLengthCommand
Gets the sql command returning Data Length.
Protected methodGetOpenPointerCommand
Gets the sql command returning a text pointer.
Protected methodGetReadTextCommand
Gets the sql command reading a blob element.
Protected methodGetUpdateTextCommand
Gets the sql command updating a blob element.
Protected methodGetUpdateTextCommandWithNullValue
Gets the sql command inserting a blob element.
Protected methodInit
Initializes a new connection.
Protected methodMemberwiseClone
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnInit
Raises the Init event.
Protected methodOpenPointer
Opens the text pointer.
Protected methodReadText
Reads the array from the BLOB column.
Protected methodUpdateText
Writes the array into the BLOB column.
Protected methodUpdateTextCommandWithNullValue
Writes the array into the BLOB column.

Public Properties

  NameDescription
Public propertyBlobAccess
Gets a current read/write permission.
Public propertyCanRead
Overridden. Gets a value indicating whether the current stream supports reading.
(Overrides Stream..::CanRead.)
Public propertyCanSeek
Overridden. Gets a value indicating whether the current stream supports seeking.
(Overrides Stream..::CanSeek.)
Public propertyCanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
Public propertyCanWrite
Overridden. Gets a value indicating whether the current stream supports writing.
(Overrides Stream..::CanWrite.)
Public propertyColumnName
Gets, sets a table column for the BLOB value that the current SqlBlobStream object will encapsulate.
Public propertyConnectionString
Gets, sets a sql connection string that includes the source database name, and other parameters needed to establish the initial connection.
Public propertyIsOpen
Gets the current SqlBlobStream's state.
Public propertyLength
Overridden. Gets the length in bytes of the stream.
(Overrides Stream..::Length.)
Public propertyPointer
Gets a current pointer to the BLOB value.
Public propertyPosition
Overridden. Gets or sets the current position of this stream.
(Overrides Stream..::Position.)
Public propertyPrimaryKeys
Gets the primary keys collection.
Public propertyReadTimeout
Gets or sets a value that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
Public propertyTableName
Gets, sets a table name for the table that the current SqlBlobStream object will encapsulate.
Public propertyTransaction
Gets, sets a current sql transaction.
Public propertyWriteTimeout
Gets or sets a value that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)

See Also