Classe ConnectionManagerOdbcClass

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
<GuidAttribute("32808317-2AFC-4E1C-A03A-9F8477A3BDBA")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ConnectionManagerOdbcClass _
    Implements IDTSConnectionManager100, ConnectionManagerOdbc, IDTSConnectionManagerDatabaseParameters100
'Utilizzo
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

Nel tipo ConnectionManagerOdbcClass sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ConnectionManagerOdbcClass Infrastruttura. Initializes a new instance of the ConnectionManagerOdbcClass class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionString Infrastruttura. Gets or sets the connection string used to establish a connection to a data source.
Proprietà pubblica InitialCatalog Infrastruttura. Gets or sets the initial catalog for the connection.
Proprietà pubblica Password Infrastruttura. Gets or sets the password for the connection.
Proprietà pubblica ProtectionLevel Infrastruttura. Gets or sets the level of encryption performed on sensitive data that is contained in the package.
Proprietà pubblica RetainSameConnection Infrastruttura. Gets or sets a Boolean that indicates whether the connection manager retains the same connection.
Proprietà pubblica Scope Infrastruttura. Gets the scope of the connection manager.
Proprietà pubblica ServerName Infrastruttura. Gets or sets the server name.
Proprietà pubblica SupportsDTCTransactions Infrastruttura. Gets a Boolean that indicates whether the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Proprietà pubblica UserName Infrastruttura. Gets or sets the username for the connection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico AcquireConnection Infrastruttura. Creates an instance of the connection type.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetConnectionForSchema Infrastruttura. Gets the connection for the schema.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ReleaseConnection Infrastruttura. Frees the connection established during AcquireConnection. Called at design time and runtime.
Metodo pubblico SetQualifier Infrastruttura. Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Validate Infrastruttura. Validates the connection and returns an enumeration that indicates success or failure.

In alto

Osservazioni

For more information, see ConnectionManager.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper