Partilhar via


SqlExtensions.GetSubscriptionLongTermRetentionManagedInstanceBackups Método

Definição

Obtém uma coleção de SubscriptionLongTermRetentionManagedInstanceBackupResources no SubscriptionResource.

public static Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection GetSubscriptionLongTermRetentionManagedInstanceBackups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName);
static member GetSubscriptionLongTermRetentionManagedInstanceBackups : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupCollection
<Extension()>
Public Function GetSubscriptionLongTermRetentionManagedInstanceBackups (subscriptionResource As SubscriptionResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String) As SubscriptionLongTermRetentionManagedInstanceBackupCollection

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

locationName
AzureLocation

O local do banco de dados.

managedInstanceName
String

O nome da instância gerenciada.

databaseName
String

O nome do banco de dados gerenciado.

Retornos

Um objeto que representa a coleção de SubscriptionLongTermRetentionManagedInstanceBackupResources e suas operações em um SubscriptionLongTermRetentionManagedInstanceBackupResource.

Exceções

managedInstanceName ou databaseName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

managedInstanceName ou databaseName é nulo.

Aplica-se a