다음을 통해 공유


Duration 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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.