Udostępnij za pośrednictwem


ISqlEncryptionProtectorOperations.GetBySqlServerAsync Method

Definition

Overloads

GetBySqlServerAsync(ISqlServer, CancellationToken)

Asynchronously gets the information about an Encryption Protector resource from Azure SQL server, identifying it by its resource group and parent.

GetBySqlServerAsync(String, String, CancellationToken)

Asynchronously gets the information about an Encryption Protector resource from Azure SQL server, identifying it by its resource group and parent.

GetBySqlServerAsync(ISqlServer, CancellationToken)

Asynchronously gets the information about an Encryption Protector resource from Azure SQL server, identifying it by its resource group and parent.

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

Parameters

sqlServer
ISqlServer

The SQL server parent resource.

cancellationToken
CancellationToken

Returns

Applies to

GetBySqlServerAsync(String, String, CancellationToken)

Asynchronously gets the information about an Encryption Protector resource from Azure SQL server, identifying it by its resource group and parent.

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

Parameters

resourceGroupName
String

The name of resource group.

sqlServerName
String

The name of SQL server parent resource.

cancellationToken
CancellationToken

Returns

Applies to