OperationExecuteAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console.MigrateDatabase
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис public static Task<int> ExecuteAsync(
IConsoleLogger logger,
string sourceConfigurationString,
string sourceDatabaseName,
string targetConfigurationString,
string targetDatabaseName,
int threadCount,
int bulkSize,
bool quiet,
CancellationToken cancellationToken = default
)
Public Shared Function ExecuteAsync (
logger As IConsoleLogger,
sourceConfigurationString As String,
sourceDatabaseName As String,
targetConfigurationString As String,
targetDatabaseName As String,
threadCount As Integer,
bulkSize As Integer,
quiet As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
public:
static Task<int>^ ExecuteAsync(
IConsoleLogger^ logger,
String^ sourceConfigurationString,
String^ sourceDatabaseName,
String^ targetConfigurationString,
String^ targetDatabaseName,
int threadCount,
int bulkSize,
bool quiet,
CancellationToken cancellationToken = CancellationToken()
)
static member ExecuteAsync :
logger : IConsoleLogger *
sourceConfigurationString : string *
sourceDatabaseName : string *
targetConfigurationString : string *
targetDatabaseName : string *
threadCount : int *
bulkSize : int *
quiet : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
Параметры
- logger
- Тип: Tessa.Platform.ConsoleAppsIConsoleLogger
- sourceConfigurationString
- Тип: SystemString
- sourceDatabaseName
- Тип: SystemString
- targetConfigurationString
- Тип: SystemString
- targetDatabaseName
- Тип: SystemString
- threadCount
- Тип: SystemInt32
- bulkSize
- Тип: SystemInt32
- quiet
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt32См. также