共用方式為


ISqlChildrenOperations<T>.GetBySqlServerAsync Method

Definition

Overloads

GetBySqlServerAsync(ISqlServer, String, CancellationToken)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

GetBySqlServerAsync(String, String, String, CancellationToken)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

GetBySqlServerAsync(ISqlServer, String, CancellationToken)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

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

Parameters

sqlServer
ISqlServer

The SQL server parent resource.

name
String

The name of the child resource.

cancellationToken
CancellationToken

Returns

Task<T>

Applies to

GetBySqlServerAsync(String, String, String, CancellationToken)

Asynchronously gets the information about a child resource from Azure SQL server, identifying it by its name and its resource group.

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

Parameters

resourceGroupName
String

The name of resource group.

sqlServerName
String

The name of SQL server parent resource.

name
String

The name of the child resource.

cancellationToken
CancellationToken

Returns

Task<T>

Applies to