DK11 for .NET | TatukGIS.NDK.TGIS_DbAbstract.sqlPathAbsolute | Overloads | Constructors | Fields | Methods | Properties | Events
Resolves potentially embedded database path in a connection string into an absolute path.
// C# public string sqlPathAbsolute( string _folder, string _connection, Char _separator, string _key, Char _delimiter );
' VisualBasic Public Function sqlPathAbsolute( ByVal _folder As String, ByVal _connection As String, ByVal _separator As Char, ByVal _key As String, ByVal _delimiter As Char ) As String
// Oxygene public function sqlPathAbsolute( _folder : String; _connection : String; _separator : Char; _key : String; _delimiter : Char ) : String;
Name | Type | Description |
---|---|---|
_folder | string String | base folder for opening file based databases |
_connection | string String | connection string |
_separator | Char | items separator |
_key | string String | key of the item which may contain path |
_delimiter | Char | key-value delimiter |
Type | Description |
---|---|
string String | if connection contains file then expanded absolute path; _connection string otherwise |
This overload assumes that _connection contains string in a format: 'key1=valu1;key2=value;KEY=value3' where ';' is a _separator, '=' is as _delimitter, and 'KEY' is a _key.