Класс ConnectionManagerCacheClass
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Represents a connection manager that utilizes a Cache Transform or a cache file for the data connection.
Иерархия наследования
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerCacheClass
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
<GuidAttribute("F84E97B0-F3D7-4EFF-ACAA-80385E13EB34")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class ConnectionManagerCacheClass _
Implements IDTSConnectionManager100, ConnectionManagerCache, IDTSConnectionManagerCache100
'Применение
Dim instance As ConnectionManagerCacheClass
[GuidAttribute("F84E97B0-F3D7-4EFF-ACAA-80385E13EB34")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class ConnectionManagerCacheClass : IDTSConnectionManager100,
ConnectionManagerCache, IDTSConnectionManagerCache100
[GuidAttribute(L"F84E97B0-F3D7-4EFF-ACAA-80385E13EB34")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class ConnectionManagerCacheClass : IDTSConnectionManager100,
ConnectionManagerCache, IDTSConnectionManagerCache100
[<GuidAttribute("F84E97B0-F3D7-4EFF-ACAA-80385E13EB34")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type ConnectionManagerCacheClass =
class
interface IDTSConnectionManager100
interface ConnectionManagerCache
interface IDTSConnectionManagerCache100
end
public class ConnectionManagerCacheClass implements IDTSConnectionManager100, ConnectionManagerCache, IDTSConnectionManagerCache100
Тип ConnectionManagerCacheClass обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ConnectionManagerCacheClass | Инфраструктура. Initializes a new instance of the ConnectionManagerCacheClass class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Columns | Инфраструктура. Gets or sets the columns in the cache. | |
ConnectionString | Инфраструктура. Gets or sets the connection string used to establish a connection to a data source. | |
ProtectionLevel | Инфраструктура. Gets or sets the level of encryption performed on sensitive data that is contained in the package. | |
RetainData | Инфраструктура. Gets or sets a Boolean that indicates whether the connection manager retains the data in the cache. | |
Scope | Инфраструктура. Gets the scope of the connection manager. | |
SupportsDTCTransactions | Инфраструктура. Gets a Boolean that indicates whether the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. | |
UseEncryption | Инфраструктура. Gets or sets a Boolean that indicates whether to use encryption. | |
UseFile | Инфраструктура. Gets or sets a Boolean that indicates whether the connection manager uses a cache file. |
В начало
Методы
Имя | Описание | |
---|---|---|
AcquireConnection | Инфраструктура. Creates an instance of the connection type. | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
GetFileColumns | Инфраструктура. Reads and returns the columns from the specified cache file. | |
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 and returns an enumeration that indicates success or failure. |
В начало
Замечания
For more information, see ConnectionManager.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.