共用方式為


DaysUntilExpiration 屬性

Gets or sets the number of days that the collected data is saved in the management data warehouse.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
<SfcPropertyAttribute(Required := False)> _
Public Property DaysUntilExpiration As Short
    Get
    Set
'用途
Dim instance As CollectionSet
Dim value As Short

value = instance.DaysUntilExpiration

instance.DaysUntilExpiration = value
[SfcPropertyAttribute(Required = false)]
public short DaysUntilExpiration { get; set; }
[SfcPropertyAttribute(Required = false)]
public:
property short DaysUntilExpiration {
    short get ();
    void set (short value);
}
[<SfcPropertyAttribute(Required = false)>]
member DaysUntilExpiration : int16 with get, set
function get DaysUntilExpiration () : short
function set DaysUntilExpiration (value : short)

屬性值

型別:System. . :: . .Int16
A Int16 value that is the number of days.

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.