LoggingLevel Propiedad

Obtiene o establece el nivel de registro para el conjunto de colección.

Espacio de nombres:  Microsoft.SqlServer.Management.Collector
Ensamblado:  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Sintaxis

'Declaración
<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 de la propiedad

Tipo: System. . :: . .Int16
Valor SmallInt que indica el nivel de registro utilizado para el conjunto de recopilación.

Comentarios

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.