Port Property

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Gets or sets the port number that is used when the socket protocol is being used.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public uint Port { get; set; }
Visual Basic
Public Property Port As UInteger
	Get
	Set
Visual C++
public:
property unsigned int Port {
	unsigned int get ();
	void set (unsigned int value);
}

See Also