SqlExtensions.GetResourceGroupLongTermRetentionBackups 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 ResourceGroupLongTermRetentionBackupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGroupLongTermRetentionBackups(AzureLocation, String, String) instead.
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
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- locationName
- AzureLocation
The location of the database.
- longTermRetentionServerName
- String
The name of the server.
- longTermRetentionDatabaseName
- String
The name of the database.
Returns
An object representing collection of ResourceGroupLongTermRetentionBackupResources and their operations over a ResourceGroupLongTermRetentionBackupResource.
Exceptions
resourceGroupResource
, longTermRetentionServerName
or longTermRetentionDatabaseName
is null.
longTermRetentionServerName
or longTermRetentionDatabaseName
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기