Creates a data source reading from a Postgre SQL database.
Namespace:
InfigoSDKAssembly: InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static IInfigoDataSource CreatePostgreSQLDataSource( string strAddress, int nPort, string strDatabase, string strUser, string strPassword ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreatePostgreSQLDataSource ( _ strAddress As String, _ nPort As Integer, _ strDatabase As String, _ strUser As String, _ strPassword As String _ ) As IInfigoDataSource |
Visual C++ |
---|
public: static IInfigoDataSource^ CreatePostgreSQLDataSource( 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.