ISqlSyncGroup.ListLogsAsync(String, String, Type, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of sync group logs asynchronously.
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))
Parameters
- startTime
- String
Get logs generated after this time.
- endTime
- String
Get logs generated before this time.
- type
- Type
The types of logs to retrieve.
- cancellationToken
- CancellationToken