IServerConfigurationFacet.MediaRetention Property
Gets the MediaRetention property value. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property MediaRetention As Integer
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
int MediaRetention { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property int MediaRetention {
int get ();
void set (int value);
}
/** @property */
int get_MediaRetention ()
/** @property */
void set_MediaRetention (int value)
function get MediaRetention () : int
function set MediaRetention (value : int)
Property Value
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.