Share via


AzureSqlDatabaseBackupCommunicator.GetDatabaseBackupLongTermRetentionPolicy Method

Definition

Get a backup LongTermRetention policy for a Azure SQL Database

public Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicy GetDatabaseBackupLongTermRetentionPolicy (string resourceGroupName, string serverName, string databaseName, string baPolicyName);
member this.GetDatabaseBackupLongTermRetentionPolicy : string * string * string * string -> Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseBackupLongTermRetentionPolicy
Public Function GetDatabaseBackupLongTermRetentionPolicy (resourceGroupName As String, serverName As String, databaseName As String, baPolicyName As String) As DatabaseBackupLongTermRetentionPolicy

Parameters

resourceGroupName
String

The name of the resource group

serverName
String

The name of the Azure SQL Server

databaseName
String

The name of the Azure SQL Database

baPolicyName
String

The name of the Azure SQL Database backup LongTermRetention policy.

Returns

A backup LongTermRetention policy

Applies to