 | LinkarClientLogin Method |
Linkar Framework for .NET and Core
Starts the communication with a server allowing making use of the rest of functions until the Close method is executed or the connection with the server gets lost, synchronously only.
Namespace: Linkar.Commands.PersistentAssembly: Linkar.Commands (in Linkar.Commands.dll) Version: 2.3.1
Syntaxpublic void Login(
CredentialOptions credentialOptions,
string customVars = "",
int receiveTimeout = 0
)
Public Sub Login (
credentialOptions As CredentialOptions,
Optional customVars As String = "",
Optional receiveTimeout As Integer = 0
)
public:
void Login(
CredentialOptions^ credentialOptions,
String^ customVars = L"",
int receiveTimeout = 0
)
member Login :
credentialOptions : CredentialOptions *
?customVars : string *
?receiveTimeout : int
(* Defaults:
let _customVars = defaultArg customVars ""
let _receiveTimeout = defaultArg receiveTimeout 0
*)
-> unit Parameters
- credentialOptions CredentialOptions
- Object with data necessary to access the Linkar Server: Username, Password, EntryPoint, Language, FreeText.
- customVars String (Optional)
- Free text sent to the database allows management of additional behaviours in SUB.LK.MAIN.CONTROL.CUSTOM, which is called when this parameter is set.
- receiveTimeout Int32 (Optional)
- Maximum time in seconds that the client will wait for a response from the server. Default = 0 to wait indefinitely.
Remarks
Login is actually a "virtual" operation which creates a new Client Session ID. No DBMS login is performed unless Linkar SERVER determines new Database Sessions are required. These operations are not related.
See Also