Click or drag to resize

DataConnectionControllerGetConnectionString Method (Guid, Boolean)

Returns a connection string from a DataConnection data object.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public string GetConnectionString(
	Guid connectionUId,
	bool throwIfNotFound = false
)

Parameters

connectionUId
Type: SystemGuid
UId of a DataConnection data object.
throwIfNotFound (Optional)
Type: SystemBoolean

Return Value

Type: String
Returns the connection's connection string. Returns null if the connection doesn't exist - or throws if throwIfNotFound is true.
See Also