ConnectionState.cs 518 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // System.Data.ConnectionState.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. using System;
  10. namespace System.Data
  11. {
  12. /// <summary>
  13. /// Returns the current state of the connection to a data source.
  14. /// This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.
  15. /// </summary>
  16. [Flags]
  17. [Serializable]
  18. public enum ConnectionState
  19. {
  20. Closed = 0,
  21. Open = 1,
  22. Connecting = 2,
  23. Executing = 4,
  24. Fetching = 8,
  25. Broken = 16
  26. }
  27. }