Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Этот 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)