System.Data.SqlClient.SNINativeMethodWrapper.SNIPacketGetData C# (CSharp) Method

SNIPacketGetData() static private method

static private SNIPacketGetData ( IntPtr packet, byte readBuffer, uint &dataSize ) : uint
packet IntPtr
readBuffer byte
dataSize uint
return uint
        internal static unsafe uint SNIPacketGetData(IntPtr packet, byte[] readBuffer, ref uint dataSize)
        {
            return SNIPacketGetDataWrapper(packet, readBuffer, (uint)readBuffer.Length, out dataSize);
        }

Usage Example

Ejemplo n.º 1
0
 protected override uint SNIPacketGetData(PacketHandle packet, byte[] _inBuff, ref uint dataSize)
 {
     Debug.Assert(packet.Type == PacketHandle.NativePointerType, "unexpected packet type when requiring NativePointer");
     return(SNINativeMethodWrapper.SNIPacketGetData(packet.NativePointer, _inBuff, ref dataSize));
 }
All Usage Examples Of System.Data.SqlClient.SNINativeMethodWrapper::SNIPacketGetData