private SkipPlpValue ( ulong cb, System.Data.SqlClient.TdsParserStateObject stateObj ) : ulong | ||
cb | ulong | |
stateObj | System.Data.SqlClient.TdsParserStateObject | |
return | ulong |
internal ulong SkipPlpValue(ulong cb, TdsParserStateObject stateObj)
{
ulong skipped;
Debug.Assert(stateObj._syncOverAsync, "Should not attempt pends in a synchronous call");
bool result = TrySkipPlpValue(cb, stateObj, out skipped);
if (!result) { throw SQL.SynchronousCallMayNotPend(); }
return skipped;
}