Compartilhar via


Propriedade do RDL CollectionMode

Obtém ou define o modo de coleta do conjunto de coleta.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (em Microsoft.SqlServer.Management.Collector.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property CollectionMode As CollectionSet..::..CollectionModes
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet. . :: . .CollectionModes
Enumera o tipo CollectionModes e retorna um objeto que contém a configuração do modo de coleta do conjunto de coleta.

Comentários

The collection mode is one of the following:

  • Continuous

  • AdHoc

  • Snapshot

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.