共用方式為


ConnectionManagerFileClass Class

Definition

Represents a connection manager class.

public ref class ConnectionManagerFileClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerFile, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManagerFile100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("950A1CA0-F2F8-4B43-AD9B-A788979E983D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerFile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerFile100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("181428C0-2786-4660-8B87-7B5FBA87F9F4")]
public class ConnectionManagerFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerFile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerFile100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("DBD9A92B-CDBF-4B8F-B529-D22DFB16F459")]
public class ConnectionManagerFileClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerFile, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManagerFile100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("950A1CA0-F2F8-4B43-AD9B-A788979E983D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerFileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerFile
    interface IDTSConnectionManagerFile100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("181428C0-2786-4660-8B87-7B5FBA87F9F4")>]
type ConnectionManagerFileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerFile
    interface IDTSConnectionManagerFile100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("DBD9A92B-CDBF-4B8F-B529-D22DFB16F459")>]
type ConnectionManagerFileClass = class
    interface IDTSConnectionManager100
    interface ConnectionManagerFile
    interface IDTSConnectionManagerFile100
Public Class ConnectionManagerFileClass
Implements ConnectionManagerFile, IDTSConnectionManagerFile100
Inheritance
ConnectionManagerFileClass
Attributes
Implements

Remarks

For more information, see ConnectionManager.

Constructors

ConnectionManagerFileClass()

Initializes a new instance of the ConnectionManagerFileClass class.

Properties

ConnectionString

Gets or sets the connection string used to establish a connection to a data source.

FileUsageType

Gets or sets the file connection usage type.

ProtectionLevel

Gets or sets the level of encryption performed on sensitive data that is contained in the package.

Scope

Gets or sets the scope for the connection.

SupportsDTCTransactions

Gets a value that indicates whether the connection supports DTC transactions.

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

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