CommandMigrateFiles - метод
Пространство имён: Tessa.Extensions.Default.Console.MigrateFilesСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
[VerbAttribute("MigrateFiles")]
[LocalizableDescriptionAttribute("Common_CLI_MigrateFiles")]
public static Task MigrateFiles(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute("from")][LocalizableDescriptionAttribute("Common_CLI_FileSourceFrom")] int fromSourceID,
[ArgumentAttribute("to")][LocalizableDescriptionAttribute("Common_CLI_FileSourceTo")] int toSourceID,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DatabaseName")] string databaseName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_ConcurrentConnectionCount")] int threadCount = 0,
[ArgumentAttribute("c")][LocalizableDescriptionAttribute("Common_CLI_RemoveFromTargetFileSource")] bool removeFromTargetFileSource = false,
[ArgumentAttribute("nocancel")][LocalizableDescriptionAttribute("Common_CLI_NoCancel")] bool noCancel = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("MigrateFiles")>
<LocalizableDescriptionAttribute("Common_CLI_MigrateFiles")>
Public Shared Function MigrateFiles (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute("from")><LocalizableDescriptionAttribute("Common_CLI_FileSourceFrom")> fromSourceID As Integer,
<ArgumentAttribute("to")><LocalizableDescriptionAttribute("Common_CLI_FileSourceTo")> toSourceID As Integer,
<ArgumentAttribute("cs")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")> Optional configurationString As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_DatabaseName")> Optional databaseName As String = Nothing,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_ConcurrentConnectionCount")> Optional threadCount As Integer = 0,
<ArgumentAttribute("c")><LocalizableDescriptionAttribute("Common_CLI_RemoveFromTargetFileSource")> Optional removeFromTargetFileSource As Boolean = false,
<ArgumentAttribute("nocancel")><LocalizableDescriptionAttribute("Common_CLI_NoCancel")> Optional noCancel 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"MigrateFiles")]
[LocalizableDescriptionAttribute(L"Common_CLI_MigrateFiles")]
static Task^ MigrateFiles(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute(L"from")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceFrom")] int fromSourceID,
[ArgumentAttribute(L"to")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceTo")] int toSourceID,
[ArgumentAttribute(L"cs")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationString")] String^ configurationString = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_DatabaseName")] String^ databaseName = nullptr,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_ConcurrentConnectionCount")] int threadCount = 0,
[ArgumentAttribute(L"c")][LocalizableDescriptionAttribute(L"Common_CLI_RemoveFromTargetFileSource")] bool removeFromTargetFileSource = false,
[ArgumentAttribute(L"nocancel")][LocalizableDescriptionAttribute(L"Common_CLI_NoCancel")] bool noCancel = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("MigrateFiles")>]
[<LocalizableDescriptionAttribute("Common_CLI_MigrateFiles")>]
static member MigrateFiles :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute("from")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceFrom")>] fromSourceID : int *
[<ArgumentAttribute("to")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceTo")>] toSourceID : int *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_ConcurrentConnectionCount")>] ?threadCount : int *
[<ArgumentAttribute("c")>][<LocalizableDescriptionAttribute("Common_CLI_RemoveFromTargetFileSource")>] ?removeFromTargetFileSource : bool *
[<ArgumentAttribute("nocancel")>][<LocalizableDescriptionAttribute("Common_CLI_NoCancel")>] ?noCancel : 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 _threadCount = defaultArg threadCount 0
let _removeFromTargetFileSource = defaultArg removeFromTargetFileSource false
let _noCancel = defaultArg noCancel false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- fromSourceID Int32
-
- toSourceID Int32
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- threadCount Int32 (Optional)
-
- removeFromTargetFileSource Boolean (Optional)
-
- noCancel Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task