Поделиться через


Свойство Duration

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Property Duration As TimeSpan
    Get
    Set
'Применение
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)

Значение свойства

Тип System. . :: . .TimeSpan
A Timespan value that specifies the given time period.