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


Класс ConnectionManagerOLAPClass

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

Represents a connection manager OLAP class.

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

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

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

Синтаксис

'Декларация
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("E3D5D606-997B-4EF6-90AD-43483A788CC3")> _
Public Class ConnectionManagerOLAPClass _
    Implements IDTSConnectionManager100, ConnectionManagerOLAP, IDTSConnectionManagerDatabaseParameters100
'Применение
Dim instance As ConnectionManagerOLAPClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("E3D5D606-997B-4EF6-90AD-43483A788CC3")]
public class ConnectionManagerOLAPClass : IDTSConnectionManager100, 
    ConnectionManagerOLAP, IDTSConnectionManagerDatabaseParameters100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"E3D5D606-997B-4EF6-90AD-43483A788CC3")]
public ref class ConnectionManagerOLAPClass : IDTSConnectionManager100, 
    ConnectionManagerOLAP, IDTSConnectionManagerDatabaseParameters100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("E3D5D606-997B-4EF6-90AD-43483A788CC3")>]
type ConnectionManagerOLAPClass =  
    class 
        interface IDTSConnectionManager100 
        interface ConnectionManagerOLAP 
        interface IDTSConnectionManagerDatabaseParameters100 
    end
public class ConnectionManagerOLAPClass implements IDTSConnectionManager100, ConnectionManagerOLAP, IDTSConnectionManagerDatabaseParameters100

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

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

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

В начало

Свойства

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

В начало

Методы

  Имя Описание
Открытый метод AcquireConnection Инфраструктура. Creates an instance of the connection type.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetConnectionForSchema Инфраструктура. Gets the connection for the schema.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ReleaseConnection Инфраструктура. Frees the connection established during AcquireConnection(Object).
Открытый метод 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

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