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 | |
---|---|---|
Count | Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Se hereda de DTSReadOnlyCollectionBase.) | |
IsSynchronized | Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Se hereda de DTSReadOnlyCollectionBase.) | |
Item | Gets a ConnectionManager object from the Connections collection. | |
SyncRoot | Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Se hereda de DTSReadOnlyCollectionBase.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Add | Adds a ConnectionManager object of the specified connection type to the Connections collection. | |
Contains | Indicates whether the ConnectionManager items in the collection can be accessed by using indexing without throwing an exception. | |
CopyTo | Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Se hereda de DTSReadOnlyCollectionBase.) | |
Equals | (Se hereda de Object.) | |
GetEnumerator | Returns a ConnectionEnumerator for use in iterating over the Connections collection. | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
Join | Joins a connection to the list of connections. | |
Remove | Removes a ConnectionManager object from the Connections collection. | |
ToString | (Se hereda de Object.) |
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.