Condividi tramite


Proprietà Duration

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Property Duration As TimeSpan
    Get
    Set
'Utilizzo
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)

Valore proprietà

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