Compartilhar via


Propriedade do RDL Duration

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Property Duration As TimeSpan
    Get
    Set
'Uso
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)

Valor da propriedade

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