Поделиться через


Класс ConnectionManagerAdoClass

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Provides the connection information to a data source.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")> _
Public Class ConnectionManagerAdoClass _
    Implements IDTSConnectionManager100, ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
'Применение
Dim instance As ConnectionManagerAdoClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")]
public class ConnectionManagerAdoClass : IDTSConnectionManager100, 
    ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"68FFA586-FFA5-41DC-8EDE-13102087EF33")]
public ref class ConnectionManagerAdoClass : IDTSConnectionManager100, 
    ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")>]
type ConnectionManagerAdoClass =  
    class 
        interface IDTSConnectionManager100 
        interface ConnectionManagerAdo 
        interface IDTSConnectionManagerDatabaseParameters100 
    end
public class ConnectionManagerAdoClass implements IDTSConnectionManager100, ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100

Тип ConnectionManagerAdoClass обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ConnectionManagerAdoClass Инфраструктура. Initializes a new instance of the ConnectionManagerAdoClass class.

В начало

Свойства

  Имя Описание
Открытое свойство ConnectionString Инфраструктура. Gets or sets the connection string used to establish a connection to a data source.
Открытое свойство InitialCatalog Инфраструктура. Gets or sets the value of the initial catalog.
Открытое свойство Password Инфраструктура. Sets the connection password.
Открытое свойство ProtectionLevel Инфраструктура. Gets or sets the level of encryption performed on sensitive data that is contained in the package.
Открытое свойство RetainSameConnection Инфраструктура. Gets or sets whether the connection retains the same connection.
Открытое свойство Scope Инфраструктура. Gets the scope of the connection manager.
Открытое свойство ServerName Инфраструктура. Gets or sets the name of the server.
Открытое свойство SupportsDTCTransactions Инфраструктура. Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Открытое свойство UserName Инфраструктура. Gets or sets the username for the connection.

В начало

Методы

  Имя Описание
Открытый метод AcquireConnection Инфраструктура. Creates an instance of the connection type.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetConnectionForSchema Инфраструктура. Returns the connection for the schema.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ReleaseConnection Инфраструктура. Frees the connection established during AcquireConnection. Called at design time and runtime.
Открытый метод SetQualifier Инфраструктура. Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.
Открытый метод ToString (Производный от Object.)
Открытый метод Validate Инфраструктура. Validates the connection.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper