LoggingOptions 类

Contains members that regulate what information is included or excluded from logging. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..LoggingOptions

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public NotInheritable Class LoggingOptions _
    Inherits DtsObject _
    Implements IDTSPersist
用法
Dim instance As LoggingOptions
public sealed class LoggingOptions : DtsObject, 
    IDTSPersist
public ref class LoggingOptions sealed : public DtsObject, 
    IDTSPersist
[<SealedAttribute>]
type LoggingOptions =  
    class
        inherit DtsObject
        interface IDTSPersist
    end
public final class LoggingOptions extends DtsObject implements IDTSPersist

LoggingOptions 类型公开以下成员。

属性

  名称 说明
公共属性 EventFilter Gets or sets an array that contains the names of the events that are the subject of the filtering options.
公共属性 EventFilterKind Gets or sets a value that describes the kind of event filter that is set, whether included or excluded.
公共属性 SelectedLogProviders A collection of log providers selected on the container. A log provider can only be selected for a container when the container's LoggingMode is set to Enabled.

页首

方法

  名称 说明
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetColumnFilter Returns column filter for the specified event.
公共方法 GetColumnFilteredEvents Returns a string array that contains a list of events that have a column filter set.
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
公共方法 SetColumnFilter Sets column filter for the specified event.
公共方法 ToString (从 Object 继承。)

页首

注释

Logging options add a filtering capability to restrict logging output to only those items you are interested in, which reduces impact on the system in terms of performance. Logging is meant for diagnostic and analytic usage, rather than progress tracking.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。