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