ServerAdapterBase.MediaRetention Property

Gets or sets the value of the referenced property.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property MediaRetention As Integer
    Get
    Set
'Usage
Dim instance As ServerAdapterBase
Dim value As Integer

value = instance.MediaRetention

instance.MediaRetention = value
public int MediaRetention { get; set; }
public:
virtual property int MediaRetention {
    int get () sealed;
    void set (int value) sealed;
}
abstract MediaRetention : int with get, set
override MediaRetention : int with get, set
final function get MediaRetention () : int
final function set MediaRetention (value : int)

Property Value

Type: System.Int32
An Int32 value that contains the value of the referenced property option.