Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Property Duration As TimeSpan
Get
Set
'Usage
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)
Property Value
Type: System.TimeSpan
A Timespan value that specifies the given time period.