2 // Mono.Data.TdsClient.Internal.TdsPacketEndTokenResult.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2002
13 namespace Mono.Data.TdsClient.Internal {
14 internal class TdsPacketEndTokenResult : TdsPacketResult
28 public TdsPacketEndTokenResult (TdsPacketSubType type, byte status, int rowCount)
31 if (type == TdsPacketSubType.DoneInProc)
32 throw new TdsException ("");
34 this.rowCount = rowCount;
35 this.isRetStatSet = false;
38 #endregion // Constructors
43 get { return rowCount; }
46 public bool MoreResults {
47 get { return (status & 0x01) != 0; }
50 public bool Cancelled {
51 get { return (status & 0x20) != 0; }
54 public bool ReturnStatusExists {
55 get { return isRetStatSet; }
58 public int ReturnStatus {
59 get { return retStat; }
66 #endregion // Properties
71 public override string ToString ()
73 throw new NotImplementedException ();