다음을 통해 공유


CollectionSet.LoggingLevel 속성

Gets or sets the logging level for the collection set.

네임스페이스:  Microsoft.SqlServer.Management.Collector
어셈블리:  Microsoft.SqlServer.Management.Collector(Microsoft.SqlServer.Management.Collector.dll)

구문

‘선언
<SfcPropertyAttribute> _
Public Property LoggingLevel As Short 
    Get 
    Set
‘사용 방법
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)

속성 값

유형: System.Int16
A SmallInt value that indicates the logging level used for the collection set.

주의

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.

참고 항목

참조

CollectionSet 클래스

Microsoft.SqlServer.Management.Collector 네임스페이스