Creates a data source reading from a Microsoft SQL Server.

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

Syntax

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

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.
type
Type: InfigoSDK..::.InfigoDataSourceFactory..::.SQLServerType
The SQL Server version InfigoDataSourceFactory..::.SQLServerType

Return Value

The new IInfigoDataSource.

See Also