DefaultConsoleHelperCheckConnectionAsync - метод
Пространство имён: Tessa.Extensions.Default.ConsoleСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
public static Task<Dbms> CheckConnectionAsync(
IConsoleLogger logger,
string configurationString,
int timeoutSecondsOverride,
bool outputConnectionString,
string databaseName = null,
bool keepOriginalDatabase = false,
CancellationToken cancellationToken = default
)
Public Shared Function CheckConnectionAsync (
logger As IConsoleLogger,
configurationString As String,
timeoutSecondsOverride As Integer,
outputConnectionString As Boolean,
Optional databaseName As String = Nothing,
Optional keepOriginalDatabase As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Dbms)
public:
static Task<Dbms>^ CheckConnectionAsync(
IConsoleLogger^ logger,
String^ configurationString,
int timeoutSecondsOverride,
bool outputConnectionString,
String^ databaseName = nullptr,
bool keepOriginalDatabase = false,
CancellationToken cancellationToken = CancellationToken()
)
static member CheckConnectionAsync :
logger : IConsoleLogger *
configurationString : string *
timeoutSecondsOverride : int *
outputConnectionString : bool *
?databaseName : string *
?keepOriginalDatabase : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _databaseName = defaultArg databaseName null
let _keepOriginalDatabase = defaultArg keepOriginalDatabase false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Dbms>
- logger IConsoleLogger
-
- configurationString String
-
- timeoutSecondsOverride Int32
-
- outputConnectionString Boolean
-
- databaseName String (Optional)
-
- keepOriginalDatabase Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskDbms