IServerConfigurationFacet.MediaRetention 屬性
Gets or sets the media retention.
命名空間: 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
The media retention.