Freigeben über


LoggingOptions-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class LoggingOptions _
    Inherits DtsObject _
    Implements IDTSPersist
'Usage
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

Der LoggingOptions-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft EventFilter Gets or sets an array that contains the names of the events that are the subject of the filtering options.
Öffentliche Eigenschaft EventFilterKind Gets or sets a value that describes the kind of event filter that is set, whether included or excluded.
Öffentliche Eigenschaft 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.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals Determines whether two object instances are equal. (Geerbt von DtsObject.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetColumnFilter Returns column filter for the specified event.
Öffentliche Methode GetColumnFilteredEvents Returns a string array that contains a list of events that have a column filter set.
Öffentliche Methode GetHashCode Returns the hash code for this instance. (Geerbt von DtsObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Öffentliche Methode SetColumnFilter Sets column filter for the specified event.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.