Partager via


Propriété FrequencyPair.Duration

Gets the specified time period during which the number of events is counted.

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

Syntaxe

'Déclaration
Public Property Duration As TimeSpan 
    Get 
    Set
'Utilisation
Dim instance As FrequencyPair 
Dim value As TimeSpan 

value = instance.Duration

instance.Duration = value
public TimeSpan Duration { get; set; }
public:
property TimeSpan Duration {
    TimeSpan get ();
    void set (TimeSpan value);
}
member Duration : TimeSpan with get, set
function get Duration () : TimeSpan 
function set Duration (value : TimeSpan)

Valeur de propriété

Type : System.TimeSpan
A Timespan value that specifies the given time period.

Voir aussi

Référence

FrequencyPair Classe

Espace de noms Microsoft.SqlServer.Management.Smo