Partilhar via


Propriedade do RDL LoggingLevel

Obtém ou define o nível de logon 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 LoggingLevel As Short
    Get
    Set
'Uso
Dim instance As CollectionSet
Dim value As Short

value = instance.LoggingLevel

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

Valor da propriedade

Tipo: System. . :: . .Int16
Um valor SmallInt que indica o nível de log usado para o conjunto de coleta.

Comentários

Logging levels are described in the following table.

Level

Description

0

Logs execution information and the following SSIS events:

  • Start or stop a collection set.

  • Start or stop a package.

  • Error information.

1

The default logging level, it combines Level 0 logging and:

  • Execution statistics.

  • Continuously running collection progress.

  • Warning events from SSIS.

2

Level 1 logging and detailed SSIS events.

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