CommandCheckDatabase - метод
Пространство имён: Tessa.Extensions.Default.Console.CheckDatabaseСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
[VerbAttribute("CheckDatabase")]
[LocalizableDescriptionAttribute("Common_CLI_CheckDatabase")]
public static Task CheckDatabase(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_CheckDatabaseName")] string databaseName = null,
[ArgumentAttribute("timeout")][LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")] int seconds = -1,
[ArgumentAttribute("dbms")][LocalizableDescriptionAttribute("Common_CLI_OutputDbms")] bool outputDbms = false,
[ArgumentAttribute("c")][LocalizableDescriptionAttribute("Common_CLI_OutputConnectionString")] bool outputConnectionString = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("CheckDatabase")>
<LocalizableDescriptionAttribute("Common_CLI_CheckDatabase")>
Public Shared Function CheckDatabase (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute("cs")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")> Optional configurationString As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_CheckDatabaseName")> Optional databaseName As String = Nothing,
<ArgumentAttribute("timeout")><LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")> Optional seconds As Integer = -1,
<ArgumentAttribute("dbms")><LocalizableDescriptionAttribute("Common_CLI_OutputDbms")> Optional outputDbms As Boolean = false,
<ArgumentAttribute("c")><LocalizableDescriptionAttribute("Common_CLI_OutputConnectionString")> Optional outputConnectionString As Boolean = false,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"CheckDatabase")]
[LocalizableDescriptionAttribute(L"Common_CLI_CheckDatabase")]
static Task^ CheckDatabase(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute(L"cs")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationString")] String^ configurationString = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_CheckDatabaseName")] String^ databaseName = nullptr,
[ArgumentAttribute(L"timeout")][LocalizableDescriptionAttribute(L"Common_CLI_ConnectTimeout")] int seconds = -1,
[ArgumentAttribute(L"dbms")][LocalizableDescriptionAttribute(L"Common_CLI_OutputDbms")] bool outputDbms = false,
[ArgumentAttribute(L"c")][LocalizableDescriptionAttribute(L"Common_CLI_OutputConnectionString")] bool outputConnectionString = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("CheckDatabase")>]
[<LocalizableDescriptionAttribute("Common_CLI_CheckDatabase")>]
static member CheckDatabase :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_CheckDatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("timeout")>][<LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")>] ?seconds : int *
[<ArgumentAttribute("dbms")>][<LocalizableDescriptionAttribute("Common_CLI_OutputDbms")>] ?outputDbms : bool *
[<ArgumentAttribute("c")>][<LocalizableDescriptionAttribute("Common_CLI_OutputConnectionString")>] ?outputConnectionString : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _configurationString = defaultArg configurationString null
let _databaseName = defaultArg databaseName null
let _seconds = defaultArg seconds -1
let _outputDbms = defaultArg outputDbms false
let _outputConnectionString = defaultArg outputConnectionString false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- seconds Int32 (Optional)
-
- outputDbms Boolean (Optional)
-
- outputConnectionString Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task