IDataGateConfig interface | QSYS API Reference Guide
Provides an interface for accessing DataGate configuration.
Namespace: ASNA.Extensions.Configuration Assembly: ASNA.QSys.DataGate.Client.dll
Extends: doesn’t extend any other interfaces.
Properties
Type | Name | Description |
---|---|---|
IReadOnlyDictionary<String, SourceProfile> | Sources | Gets the table of all configured database sources. |
Methods
Signature | Description |
---|---|
ResolveSourceName(String) | Resolves a configured SourceProfile with behavior similar to the DatabaseName.ToSourceProfile methods for traditional database names. |
SourceProfile ResolveSourceName(string name)
Resolves a configured SourceProfile with behavior similar to the DatabaseName.ToSourceProfile methods for traditional database names.
Remarks
This method is used to resolve a SourceProfile from its name. If the name is not found, it throws a NoDbNameException.
SourceProfile ResolveSourceName(string name)
Parameters
Type | Parameter name | Description |
---|---|---|
String | name | The name of the source to resolve. |
Returns
Type | Description |
---|---|
SourceProfile | The resolved SourceProfile. |