Classe ConnectionManagerAdoClass
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Provides the connection information to a data source.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerAdoClass
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")> _
Public Class ConnectionManagerAdoClass _
Implements IDTSConnectionManager100, ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
'Uso
Dim instance As ConnectionManagerAdoClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")]
public class ConnectionManagerAdoClass : IDTSConnectionManager100,
ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"68FFA586-FFA5-41DC-8EDE-13102087EF33")]
public ref class ConnectionManagerAdoClass : IDTSConnectionManager100,
ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("68FFA586-FFA5-41DC-8EDE-13102087EF33")>]
type ConnectionManagerAdoClass =
class
interface IDTSConnectionManager100
interface ConnectionManagerAdo
interface IDTSConnectionManagerDatabaseParameters100
end
public class ConnectionManagerAdoClass implements IDTSConnectionManager100, ConnectionManagerAdo, IDTSConnectionManagerDatabaseParameters100
O tipo ConnectionManagerAdoClass expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ConnectionManagerAdoClass | Infraestrutura. Initializes a new instance of the ConnectionManagerAdoClass class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
ConnectionString | Infraestrutura. Gets or sets the connection string used to establish a connection to a data source. | |
InitialCatalog | Infraestrutura. Gets or sets the value of the initial catalog. | |
Password | Infraestrutura. Sets the connection password. | |
ProtectionLevel | Infraestrutura. Gets or sets the level of encryption performed on sensitive data that is contained in the package. | |
RetainSameConnection | Infraestrutura. Gets or sets whether the connection retains the same connection. | |
Scope | Infraestrutura. Gets the scope of the connection manager. | |
ServerName | Infraestrutura. Gets or sets the name of the server. | |
SupportsDTCTransactions | Infraestrutura. Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. | |
UserName | Infraestrutura. Gets or sets the username for the connection. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AcquireConnection | Infraestrutura. Creates an instance of the connection type. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetConnectionForSchema | Infraestrutura. Returns the connection for the schema. | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ReleaseConnection | Infraestrutura. Frees the connection established during AcquireConnection. Called at design time and runtime. | |
SetQualifier | Infraestrutura. Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package. | |
ToString | (Herdado de Object.) | |
Validate | Infraestrutura. Validates the connection. |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.