Propriété CollectionFrequency
Obtient ou définit la fréquence de collecte de cet élément si le jeu d'éléments de collecte s'exécute en CollectionMode = "continuous".
Espace de noms : Microsoft.SqlServer.Management.Collector
Assembly : Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public Property CollectionFrequency As TimeSpan
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System. . :: . .TimeSpan
Retourne une valeur TimeSpan.
Notes
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.