Partager via


Propriété CollectionSet.DaysUntilExpiration

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

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(Required := False)> _
Public Property DaysUntilExpiration As Short 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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

Voir aussi

Référence

CollectionSet Classe

Espace de noms Microsoft.SqlServer.Management.Collector