Condividi tramite


Proprietà LoggingLevel

Ottiene o imposta il livello di registrazione per il set di raccolta.

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property LoggingLevel As Short
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System. . :: . .Int16
Un valore SmallInt che indica il livello di registrazione utilizzato per il set di raccolta.

Osservazioni

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.