Udostępnij za pośrednictwem


Właściwość CollectionSet.CollectionMode

Pobiera lub ustawia tryb zbierania dla zestaw kolekcja.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Collector
Zestaw:  Microsoft.SqlServer.Management.Collector (w Microsoft.SqlServer.Management.Collector.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute> _
Public Property CollectionMode As CollectionSet..::..CollectionModes
    Get
    Set
'Użycie
Dim instance As CollectionSet
Dim value As CollectionSet..::..CollectionModes

value = instance.CollectionMode

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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Collector.CollectionSet.CollectionModes
Wylicza CollectionModes Wpisz i zwraca obiekt, który zawiera kolekcję ustawienie trybu zestaw kolekcja.

Uwagi

tryb kolekcji Jest jedną z następujących czynności:

  • Ciągłe

  • Ad hoc

  • Migawki

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.