Compartir a través de


Clase Connections

Contains a collection of ConnectionManager objects that are accessed through the Package object. This class cannot be inherited.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..Connections

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public NotInheritable Class Connections _
    Inherits DTSReadOnlyCollectionBase
'Uso
Dim instance As Connections
public sealed class Connections : DTSReadOnlyCollectionBase
public ref class Connections sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type Connections =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class Connections extends DTSReadOnlyCollectionBase

El tipo Connections expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Se hereda de DTSReadOnlyCollectionBase.)
Propiedad pública IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Se hereda de DTSReadOnlyCollectionBase.)
Propiedad pública Item Returns a ConnectionManager object from the Connections collection.
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Se hereda de DTSReadOnlyCollectionBase.)

Arriba

Métodos

  Nombre Descripción
Método público Add Adds a ConnectionManager object of the specified connection type to the Connections collection.
Método público Contains Returns a Boolean that indicates whether the ConnectionManager items in the collection can be accessed by 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. (Se hereda de DTSReadOnlyCollectionBase.)
Método protegido CreateManagedObject Infraestructura. (Se hereda de DTSReadOnlyCollectionBase.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método protegido GetCount Infraestructura. (Se hereda de DTSReadOnlyCollectionBase.)
Método público GetEnumerator Returns a ConnectionEnumerator for use in iterating over the Connections collection.
Método público GetHashCode (Se hereda de Object.)
Método protegido GetManagedEnumerator Infraestructura. (Se hereda de DTSReadOnlyCollectionBase.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Remove Removes a ConnectionManager object from the Connections collection.
Método público ToString (Se hereda de Object.)

Arriba

Campos

  Nombre Descripción
Campo protegido m_unmanagedColl Infraestructura. (Se hereda de DTSReadOnlyCollectionBase.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.