Свойство MediaRetention
Gets the MediaRetention property value.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property MediaRetention As Integer
Get
Set
'Применение
Dim instance As IServerConfigurationFacet
Dim value As Integer
value = instance.MediaRetention
instance.MediaRetention = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
int MediaRetention { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property int MediaRetention {
int get ();
void set (int value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract MediaRetention : int with get, set
function get MediaRetention () : int
function set MediaRetention (value : int)
Значение свойства
См. также