Partager via


CManagedComponentWrapperClass.AcquireConnections Method

Establishes a connection to a connection manager.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<DispIdAttribute(30)> _
Public Overridable Sub AcquireConnections ( _
    <InAttribute> pTransaction As Object _
) Implements IDTSDesigntimeComponent90.AcquireConnections
[DispIdAttribute(30)] 
public virtual void IDTSDesigntimeComponent90.AcquireConnections (
    [InAttribute] Object pTransaction
)
[DispIdAttribute(30)] 
public:
virtual void AcquireConnections (
    [InAttribute] Object^ pTransaction
) = IDTSDesigntimeComponent90::AcquireConnections
J# prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.

Paramètres

  • pTransaction
    The transaction the connection is participating in.

Notes

Data flow components establish connections to external data sources by using the AcquireConnections method. This method should be called before calling the Validate or ReinitializeMetaData methods to enable the component to verify the metadata contained in its column collections and to correct any errors that are found.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace