共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。