SubProtectionPolicy.RetentionPolicy Property
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.
Retention policy with the details on backup copy retention ranges. Please note BackupRetentionPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LongTermRetentionPolicy and SimpleRetentionPolicy.
public Azure.ResourceManager.RecoveryServicesBackup.Models.BackupRetentionPolicy RetentionPolicy { get; set; }
member this.RetentionPolicy : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupRetentionPolicy with get, set
Public Property RetentionPolicy As BackupRetentionPolicy
Property Value
Applies to
Azure SDK for .NET