CollectionFrequency 屬性
取得或設定此項目的收集頻率 (如果收集組是以 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
傳回 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.