Creates a data source reading from a MySQL database.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static IInfigoDataSource CreateMySQLDataSource(
	string strAddress,
	int nPort,
	string strDatabase,
	string strUser,
	string strPassword
)
Visual Basic (Declaration)
Public Shared Function CreateMySQLDataSource ( _
	strAddress As String, _
	nPort As Integer, _
	strDatabase As String, _
	strUser As String, _
	strPassword As String _
) As IInfigoDataSource
Visual C++
public:
static IInfigoDataSource^ CreateMySQLDataSource(
	String^ strAddress, 
	int nPort, 
	String^ strDatabase, 
	String^ strUser, 
	String^ strPassword
)

Parameters

strAddress
Type: System..::.String
The address to the server (IP or name).
nPort
Type: System..::.Int32
The optional port number.
strDatabase
Type: System..::.String
The optional database name.
strUser
Type: System..::.String
The user name for log-in.
strPassword
Type: System..::.String
The password for log-in.

Return Value

The new IInfigoDataSource.

See Also