Share via


SqlProtectionPolicy.RetentionPolicy Property

Definition

Retention policy details. 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