CommandSchemeScript - метод |
Пространство имён:
Tessa.Extensions.Default.Console.SchemeScript
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис [VerbAttribute("SchemeScript")]
[LocalizableDescriptionAttribute("Common_CLI_Scheme_Script")]
public static Task SchemeScript(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_Scheme_X_Source")] string source,
[ArgumentAttribute("out")][LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_Out")] string target = null,
[ArgumentAttribute("dbms")][LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMS")] Dbms dbms = Dbms.SqlServer,
[ArgumentAttribute("dbmsv")][LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMSV")][TypeConverterAttribute(typeof(VersionConverter))] Version dbmsv = null,
[ArgumentAttribute("notran")][LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_NoTran")] bool withoutTransactions = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("SchemeScript")>
<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script")>
Public Shared Function SchemeScript (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_Scheme_X_Source")> source As String,
<ArgumentAttribute("out")><LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_Out")> Optional target As String = Nothing,
<ArgumentAttribute("dbms")><LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMS")> Optional dbms As Dbms = Dbms.SqlServer,
<ArgumentAttribute("dbmsv")><LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMSV")><TypeConverterAttribute(GetType(VersionConverter))> Optional dbmsv As Version = Nothing,
<ArgumentAttribute("notran")><LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_NoTran")> Optional withoutTransactions 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"SchemeScript")]
[LocalizableDescriptionAttribute(L"Common_CLI_Scheme_Script")]
static Task^ SchemeScript(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_Scheme_X_Source")] String^ source,
[ArgumentAttribute(L"out")][LocalizableDescriptionAttribute(L"Common_CLI_Scheme_Script_Out")] String^ target = nullptr,
[ArgumentAttribute(L"dbms")][LocalizableDescriptionAttribute(L"Common_CLI_Scheme_Script_DBMS")] Dbms dbms = Dbms::SqlServer,
[ArgumentAttribute(L"dbmsv")][LocalizableDescriptionAttribute(L"Common_CLI_Scheme_Script_DBMSV")][TypeConverterAttribute(typeof(VersionConverter))] Version^ dbmsv = nullptr,
[ArgumentAttribute(L"notran")][LocalizableDescriptionAttribute(L"Common_CLI_Scheme_Script_NoTran")] bool withoutTransactions = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("SchemeScript")>]
[<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script")>]
static member SchemeScript :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_Scheme_X_Source")>] source : string *
[<ArgumentAttribute("out")>][<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_Out")>] ?target : string *
[<ArgumentAttribute("dbms")>][<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMS")>] ?dbms : Dbms *
[<ArgumentAttribute("dbmsv")>][<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_DBMSV")>][<TypeConverterAttribute(typeof(VersionConverter))>] ?dbmsv : Version *
[<ArgumentAttribute("notran")>][<LocalizableDescriptionAttribute("Common_CLI_Scheme_Script_NoTran")>] ?withoutTransactions : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _target = defaultArg target null
let _dbms = defaultArg dbms Dbms.SqlServer
let _dbmsv = defaultArg dbmsv null
let _withoutTransactions = defaultArg withoutTransactions false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
Параметры
- stdOut
- Тип: System.IOTextWriter
- stdErr
- Тип: System.IOTextWriter
- source
- Тип: SystemString
- target (Optional)
- Тип: SystemString
- dbms (Optional)
- Тип: Tessa.Platform.DataDbms
- dbmsv (Optional)
- Тип: SystemVersion
- withoutTransactions (Optional)
- Тип: SystemBoolean
- quiet (Optional)
- Тип: SystemBoolean
- nologo (Optional)
- Тип: SystemBoolean
Возвращаемое значение
Тип:
TaskСм. также