DataReader.DetachBuffer 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.
Detaches the buffer that is associated with the data reader. This is useful if you want to retain the buffer after you dispose the data reader.
public:
virtual IBuffer ^ DetachBuffer() = DetachBuffer;
IBuffer DetachBuffer();
public IBuffer DetachBuffer();
function detachBuffer()
Public Function DetachBuffer () As IBuffer
Returns
The detached buffer.