| FieldConnectionFactoryGet Method |
Return an AskiaField connection object binded with the specified parameters.
Namespace:
AskiaFieldCom
Assembly:
AskiaFieldCom (in AskiaFieldCom.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static IResult<IFieldConnection> Get(
string moduleName,
string connectionString,
string address,
int port
)
public:
static IResult<IFieldConnection^>^ Get(
String^ moduleName,
String^ connectionString,
String^ address,
int port
)
Parameters
- moduleName
- Type: SystemString
Name of the AskiaField module associated with the current connection. - connectionString
- Type: SystemString
Connection string to the main AskiaField SQL database. - address
- Type: SystemString
Network address to the AskiaField engine. - port
- Type: SystemInt32
Communication port of the AskiaField engine.
Return Value
Type:
IResultIFieldConnectionReturns a single instance of AskiaField connection associated with the arguments.
Remarks
Connections are shared between threads and try to be unique.
See Also