Click or drag to resize

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
)

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: IResultIFieldConnection
Returns a single instance of AskiaField connection associated with the arguments.
Remarks
Connections are shared between threads and try to be unique.
See Also