다음을 통해 공유


CollectionItem.CollectionFrequency 속성

Gets or sets the collection frequency for this item if the collection set is running in CollectionMode = "continuous".

네임스페이스:  Microsoft.SqlServer.Management.Collector
어셈블리:  Microsoft.SqlServer.Management.Collector(Microsoft.SqlServer.Management.Collector.dll)

구문

‘선언
<SfcPropertyAttribute> _
Public Property CollectionFrequency As TimeSpan 
    Get 
    Set
‘사용 방법
Dim instance As CollectionItem 
Dim value As TimeSpan 

value = instance.CollectionFrequency

instance.CollectionFrequency = value
[SfcPropertyAttribute]
public TimeSpan CollectionFrequency { get; set; }
[SfcPropertyAttribute]
public:
property TimeSpan CollectionFrequency {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<SfcPropertyAttribute>]
member CollectionFrequency : TimeSpan with get, set
function get CollectionFrequency () : TimeSpan 
function set CollectionFrequency (value : TimeSpan)

속성 값

유형: System.TimeSpan
Returns a TimeSpan value.

주의

Checks the number of seconds returned to see if the number fits in an integer. If not, throws an exception.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

참고 항목

참조

CollectionItem 클래스

Microsoft.SqlServer.Management.Collector 네임스페이스