







Allows the user to specify the type of connection that should
be used.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
C# |
---|
public enum MySqlConnectionProtocol |
Visual Basic |
---|
Public Enumeration MySqlConnectionProtocol |
Visual C++ |
---|
public enum class MySqlConnectionProtocol |
Members
Member name | Value | Description | |
---|---|---|---|
Sockets | 1 | TCP/IP style connection. Works everywhere. | |
Socket | 1 | ||
Tcp | 1 | ||
Pipe | 2 | Named pipe connection. Works only on Windows systems. | |
NamedPipe | 2 | ||
UnixSocket | 3 | Unix domain socket connection. Works only with Unix systems. | |
Unix | 3 | ||
SharedMemory | 4 | Shared memory connection. Currently works only with Windows systems. | |
Memory | 4 |