Udostępnij przez


FrequencyPair.Duration Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Property Duration As TimeSpan
public TimeSpan Duration { get; set; }
public:
property TimeSpan Duration {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_Duration ()

/** @property */
public void set_Duration (TimeSpan value)
public function get Duration () : TimeSpan

public function set Duration (value : TimeSpan)

Property Value

A Timespan value that specifies the given time period.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.