共用方式為


FrequencyPair.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.

請參閱

參考

FrequencyPair 類別

Microsoft.SqlServer.Management.Smo 命名空間