Compartilhar via


Classe LogProviders

Contains a collection of LogProvider objects associated with the package. This class cannot be inherited.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime.LogProviders

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

Sintaxe

'Declaração
Public NotInheritable Class LogProviders _
    Inherits DTSReadOnlyCollectionBase
'Uso
Dim instance As LogProviders
public sealed class LogProviders : DTSReadOnlyCollectionBase
public ref class LogProviders sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type LogProviders =  
    class 
        inherit DTSReadOnlyCollectionBase 
    end
public final class LogProviders extends DTSReadOnlyCollectionBase

O tipo LogProviders expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Herdado de DTSReadOnlyCollectionBase.)
Propriedade pública IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Herdado de DTSReadOnlyCollectionBase.)
Propriedade pública Item Gets a LogProvider object from the collection.
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Herdado de DTSReadOnlyCollectionBase.)

Início

Métodos

  Nome Descrição
Método público Add Adds the specified log provider to the end of the collection.
Método público Contains Specifies whether an item can be retrieved from the LogProviders collection using indexing without throwing an exception.
Método público CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Herdado de DTSReadOnlyCollectionBase.)
Método público Equals (Herdado de Object.)
Método público GetEnumerator Returns a LogProviderEnumerator for use in iterating over the LogProviders collection.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público Join Joins the specified log provider to the collection.
Método público Remove Removes a LogProvider object from the LogProviders collection.
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime