Compartir a través de


ConnectionManager Class

Provides the information that you must have to connect to a data source. All classes that inherit from the ConnectionManager contain the same properties and methods. The ConnectionManager class isolates the implementation details of the different connection types from the runtime. This enables the runtime to interact with each connection manager in a consistent and predictable manner. Connection managers contain a set of stock properties that all connections have in common, such as the Name, ID, Description, and ConnectionString. However, each connection type has additional properties that are specific to that connection type. These can be accessed through the Properties collection.This class cannot be inherited.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
Public NotInheritable Class ConnectionManager
    Inherits DtsObject
    Implements IDTSObjectHost, IDTSPersist, IDTSName, IComponent, _
    IDisposable, IDTSPropertiesProvider, IDTSPackagePath
public sealed class ConnectionManager : DtsObject, IDTSObjectHost, IDTSPersist, IDTSName, 
    IComponent, IDisposable, IDTSPropertiesProvider, IDTSPackagePath
public ref class ConnectionManager sealed : public DtsObject, IDTSObjectHost, IDTSPersist, IDTSName, 
    IComponent, IDisposable, IDTSPropertiesProvider, IDTSPackagePath
public final class ConnectionManager extends DtsObject implements IDTSObjectHost, IDTSPersist, 
    IDTSName, IComponent, IDisposable, IDTSPropertiesProvider, IDTSPackagePath
public final class ConnectionManager extends DtsObject implements IDTSObjectHost, IDTSPersist, 
    IDTSName, IComponent, IDisposable, IDTSPropertiesProvider, IDTSPackagePath

Notas

A connection manager is a logical representation of a connection. At design time, in the graphical user interface, you use a connection manager to describe the physical connection that the runtime creates when the package runs. Integration Services provides different types of connection managers that enable packages to connect to a variety of data sources. For example, there is an ActiveX Data Objects (ADO) connection manager, an ADO.NET connection manager, an ODBC connection manager, and so on. For more information, see Administradores de conexión.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.ConnectionManager

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ConnectionManager Members
Microsoft.SqlServer.Dts.Runtime Namespace