共用方式為


ConnectionManagerSqlMobileClass Class

Definition

Represents a connection manager sql mobile class.

public ref class ConnectionManagerSqlMobileClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerSqlMobile, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerDatabaseParameters100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerInit100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("1FDE27EE-C329-412B-BE24-F31A93E40127")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerSqlMobileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerSqlMobile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("0C996862-7BCD-44B4-9AD8-8B8D964FFDA9")]
public class ConnectionManagerSqlMobileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerSqlMobile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("FE30E026-7285-415E-9A33-E4C98B91464E")]
public class ConnectionManagerSqlMobileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerSqlMobile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerDatabaseParameters100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerInit100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("1FDE27EE-C329-412B-BE24-F31A93E40127")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerSqlMobileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerSqlMobile
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("0C996862-7BCD-44B4-9AD8-8B8D964FFDA9")>]
type ConnectionManagerSqlMobileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerSqlMobile
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("FE30E026-7285-415E-9A33-E4C98B91464E")>]
type ConnectionManagerSqlMobileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerSqlMobile
    interface IDTSConnectionManagerInit100
    interface IDTSConnectionManagerDatabaseParameters100
Public Class ConnectionManagerSqlMobileClass
Implements ConnectionManagerSqlMobile, IDTSConnectionManagerDatabaseParameters100, IDTSConnectionManagerInit100
Inheritance
ConnectionManagerSqlMobileClass
Attributes
Implements

Remarks

For more information, see ConnectionManager.

Constructors

ConnectionManagerSqlMobileClass()

Initializes a new instance of the ConnectionManagerSqlMobileClass 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.

InitializeConnectionManager(String, IDTSInfoEvents100, IDTSLogging100)

Initializes a connection manager instance.

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