CollectionFrequency 属性

获取或设置当收集组在 CollectionMode =“连续”的情况下运行时,此项的收集频率。

命名空间:  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
返回一个 TimeSpan 值。

注释

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.