Condividi tramite


Classe LoggingOptions

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

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

Nel tipo LoggingOptions sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica EventFilter Gets or sets an array that contains the names of the events that are the subject of the filtering options.
Proprietà pubblica EventFilterKind Gets or sets a value that describes the kind of event filter that is set, whether included or excluded.
Proprietà pubblica 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.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetColumnFilter Returns column filter for the specified event.
Metodo pubblico GetColumnFilteredEvents Returns a string array that contains a list of events that have a column filter set.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Metodo pubblico SetColumnFilter Sets column filter for the specified event.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.