AzureSqlDatabaseBackupCommunicator.GetDatabaseBackupLongTermRetentionPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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