Gets a query to enumerate databases (with or without system databases) for the current database type.
Namespace: CleanCode.DatabaseControls.SupportAssembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static string GetDatabaseEnumeratorQuery( ConnectionStringManager..::..DBTypes dbType, bool includeSysDBs )
Parameters
- dbType
- Type: CleanCode.DatabaseControls ConnectionStringManager DBTypes
The database type.
- includeSysDBs
- Type: System Boolean
if set to true includes system databases as well.
Return Value
A SQL query in the appropriate dialect; otherwise, null.Remarks
See Also