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)

属性值

类型:System. . :: . .Int32
Int32