MockableSqlSubscriptionResource.GetSubscriptionLongTermRetentionBackups 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.
Gets a collection of SubscriptionLongTermRetentionBackups in the SubscriptionResource.
public virtual Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupCollection GetSubscriptionLongTermRetentionBackups(Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName);
abstract member GetSubscriptionLongTermRetentionBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupCollection
override this.GetSubscriptionLongTermRetentionBackups : Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupCollection
Public Overridable Function GetSubscriptionLongTermRetentionBackups (locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String) As SubscriptionLongTermRetentionBackupCollection
Parameters
- locationName
- AzureLocation
The locationName for the resource.
- longTermRetentionServerName
- String
The longTermRetentionServerName for the resource.
- longTermRetentionDatabaseName
- String
The longTermRetentionDatabaseName for the resource.
Returns
An object representing collection of SubscriptionLongTermRetentionBackups and their operations over a SubscriptionLongTermRetentionBackupResource.
Exceptions
longTermRetentionServerName or longTermRetentionDatabaseName is null.
longTermRetentionServerName or longTermRetentionDatabaseName is an empty string, and was expected to be non-empty.