Condividi tramite


Proprietà CollectionFrequency

Ottiene o imposta la frequenza di raccolta per questo elemento se il set di raccolta è in esecuzione nella modalità CollectionMode = "continuous".

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property CollectionFrequency As TimeSpan
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System. . :: . .TimeSpan
Restituisce un valore TimeSpan.

Osservazioni

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.