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.