| DataConnectionControllerGetConnectionString Method (String, Boolean) |
Returns a connection string from a DataConnection data object.
The data object security model is not respected!
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual string GetConnectionString(
string connectionName,
bool throwIfNotFound = false
)
Parameters
- connectionName
- Type: SystemString
Name 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