Click or drag to resize

ConnectionServicesGetDatabaseConnections Method

Returns a list of all Database Connections that have been configured on the designated xTend Integration Server.

Namespace:  FactoryLogix.xTend.Core
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public List<string> GetDatabaseConnections(
	string serverName
)

Parameters

serverName
Type: SystemString
The fully qualified domain name (FQDN) or simple computer name of the xTend integration server. For example, "xTendServer.mydomain.local" or "xTendServer"

Return Value

Type: ListString
A list containing the database connection names for all databases configured on the designated xTend Integration Server. The first result in the list will be the connection that has been designated as the "default" connection on the server.
Exceptions
ExceptionCondition
CannotContactServerExceptionThrown if the server specified by the serverName parameter cannot be contact.
See Also