共用方式為


ConnectionManagerOLAPClass Class

Definition

Represents a connection manager OLAP class.

public ref class ConnectionManagerOLAPClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerOLAP, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("F4D9470A-E60A-4BAD-ACC6-2E3AA759E0BD")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerOLAPClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerOLAP, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("D3102C96-CC8A-409D-A94C-2175F8D16FE0")]
public class ConnectionManagerOLAPClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerOLAP, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("647A6D51-7608-4590-9DFF-A8C416E6169C")]
public class ConnectionManagerOLAPClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerOLAP, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("F4D9470A-E60A-4BAD-ACC6-2E3AA759E0BD")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerOLAPClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerOLAP
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("D3102C96-CC8A-409D-A94C-2175F8D16FE0")>]
type ConnectionManagerOLAPClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerOLAP
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("647A6D51-7608-4590-9DFF-A8C416E6169C")>]
type ConnectionManagerOLAPClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerOLAP
    interface IDTSConnectionManagerDatabaseParameters100
Public Class ConnectionManagerOLAPClass
Implements ConnectionManagerOLAP, IDTSConnectionManagerDatabaseParameters100
Inheritance
ConnectionManagerOLAPClass
Attributes
Implements

Remarks

For more information, see ConnectionManager.

Constructors

ConnectionManagerOLAPClass()

Initializes a new instance of the ConnectionManagerOLAPClass class.

Properties

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.

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

GetConnectionForSchema()

Gets the connection for the schema.

ReleaseConnection(Object)

Frees the connection established during AcquireConnection(Object).

SetQualifier(String)

Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.

Validate(IDTSInfoEvents100)

Validates the connection and returns an enumeration that indicates success or failure.

Applies to