Partilhar via


SqlExtensions.GetResourceGroupLongTermRetentionBackups Método

Definição

Obtém uma coleção de ResourceGroupLongTermRetentionBackupResources no ResourceGroupResource.

public static Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection GetResourceGroupLongTermRetentionBackups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName);
static member GetResourceGroupLongTermRetentionBackups : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionBackupCollection
<Extension()>
Public Function GetResourceGroupLongTermRetentionBackups (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String) As ResourceGroupLongTermRetentionBackupCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

locationName
AzureLocation

O local do banco de dados.

longTermRetentionServerName
String

O nome do servidor.

longTermRetentionDatabaseName
String

O nome do banco de dados.

Retornos

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

Exceções

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

longTermRetentionServerName ou longTermRetentionDatabaseName é nulo.

Aplica-se a