你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISqlSyncGroup.ListLogsAsync(String, String, Type, CancellationToken) 方法

定义

异步获取同步组日志的集合。

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Fluent.ISqlSyncGroupLogProperty>> ListLogsAsync (string startTime, string endTime, Microsoft.Azure.Management.Sql.Fluent.Models.Type type, System.Threading.CancellationToken cancellationToken = default);
abstract member ListLogsAsync : string * string * Microsoft.Azure.Management.Sql.Fluent.Models.Type * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Sql.Fluent.ISqlSyncGroupLogProperty>>
Public Function ListLogsAsync (startTime As String, endTime As String, type As Type, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ISqlSyncGroupLogProperty))

参数

startTime
String

获取在此时间之后生成的日志。

endTime
String

获取在此时间之前生成的日志。

type
Type

要检索的日志类型。

cancellationToken
CancellationToken

返回

适用于