ISqlChildrenOperations<T>.ListBySqlServerAsync Method

Definition

Overloads

ListBySqlServerAsync(ISqlServer, CancellationToken)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

ListBySqlServerAsync(String, String, CancellationToken)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

ListBySqlServerAsync(ISqlServer, CancellationToken)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<T>> ListBySqlServerAsync (Microsoft.Azure.Management.Sql.Fluent.ISqlServer sqlServer, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySqlServerAsync : Microsoft.Azure.Management.Sql.Fluent.ISqlServer * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<'T>>
Public Function ListBySqlServerAsync (sqlServer As ISqlServer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of T))

Parameters

sqlServer
ISqlServer

The parent Azure SQL server.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<T>>

Applies to

ListBySqlServerAsync(String, String, CancellationToken)

Asynchronously lists Azure SQL child resources of the specified Azure SQL server in the specified resource group.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<T>> ListBySqlServerAsync (string resourceGroupName, string sqlServerName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySqlServerAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<'T>>
Public Function ListBySqlServerAsync (resourceGroupName As String, sqlServerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of T))

Parameters

resourceGroupName
System.String

The name of the resource group to list the resources from.

sqlServerName
System.String

The name of parent Azure SQL server.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<T>>

Applies to