PortalLogin Method (Connection) |
This Login method enables the creation of new instances of
the TaxEngine based on an existing connection.
Namespace: KampData.TaxEngine.APIAssembly: KDTaxEngine (in KDTaxEngine.dll) Version: 3.0.5512.25362
Syntax public string Login(
Connection existingConnection
)
Public Function Login (
existingConnection As Connection
) As String
public:
String^ Login(
Connection^ existingConnection
)
member Login :
existingConnection : Connection -> string
Parameters
- existingConnection
- Type: Connection
A KampData.SqlTools.Connection
with Connection.Connected == true.
Return Value
Type:
StringAn empty string if the login is successful or an
error message if not.
Exceptions Exception | Condition |
---|
SqlLoginException |
Thrown if the user has insufficient rights to the required SQL tables or
if another login error is encountered.
|
See Also