Compartir a través de


Clase ConnectionManagerOdbcClass

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Represents a connection manager that connects to a data source using ODBC.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerOdbcClass

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

Sintaxis

'Declaración
<GuidAttribute("32808317-2AFC-4E1C-A03A-9F8477A3BDBA")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ConnectionManagerOdbcClass _
    Implements IDTSConnectionManager100, ConnectionManagerOdbc, IDTSConnectionManagerDatabaseParameters100
'Uso
Dim instance As ConnectionManagerOdbcClass
[GuidAttribute("32808317-2AFC-4E1C-A03A-9F8477A3BDBA")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ConnectionManagerOdbcClass : IDTSConnectionManager100, 
    ConnectionManagerOdbc, IDTSConnectionManagerDatabaseParameters100
[GuidAttribute(L"32808317-2AFC-4E1C-A03A-9F8477A3BDBA")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ConnectionManagerOdbcClass : IDTSConnectionManager100, 
    ConnectionManagerOdbc, IDTSConnectionManagerDatabaseParameters100
[<GuidAttribute("32808317-2AFC-4E1C-A03A-9F8477A3BDBA")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type ConnectionManagerOdbcClass =  
    class 
        interface IDTSConnectionManager100 
        interface ConnectionManagerOdbc 
        interface IDTSConnectionManagerDatabaseParameters100 
    end
public class ConnectionManagerOdbcClass implements IDTSConnectionManager100, ConnectionManagerOdbc, IDTSConnectionManagerDatabaseParameters100

El tipo ConnectionManagerOdbcClass expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ConnectionManagerOdbcClass Infraestructura. Initializes a new instance of the ConnectionManagerOdbcClass class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública ConnectionString Infraestructura. Gets or sets the connection string used to establish a connection to a data source.
Propiedad pública InitialCatalog Infraestructura. Gets or sets the initial catalog for the connection.
Propiedad pública Password Infraestructura. Gets or sets the password for the connection.
Propiedad pública ProtectionLevel Infraestructura. Gets or sets the level of encryption performed on sensitive data that is contained in the package.
Propiedad pública RetainSameConnection Infraestructura. Gets or sets a Boolean that indicates whether the connection manager retains the same connection.
Propiedad pública Scope Infraestructura. Gets the scope of the connection manager.
Propiedad pública ServerName Infraestructura. Gets or sets the server name.
Propiedad pública SupportsDTCTransactions Infraestructura. Gets a Boolean that indicates whether the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Propiedad pública UserName Infraestructura. Gets or sets the username for the connection.

Arriba

Métodos

  Nombre Descripción
Método público AcquireConnection Infraestructura. Creates an instance of the connection type.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetConnectionForSchema Infraestructura. Gets the connection for the schema.
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ReleaseConnection Infraestructura. Frees the connection established during AcquireConnection. Called at design time and runtime.
Método público SetQualifier Infraestructura. Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.
Método público ToString (Se hereda de Object.)
Método público Validate Infraestructura. Validates the connection and returns an enumeration that indicates success or failure.

Arriba

Comentarios

For more information, see ConnectionManager.

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper