IDTSDesigntimeComponent90.AcquireConnections Method

Establishes a connection to a connection manager.

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

Syntax

'Declaration
<DispIdAttribute(30)> _
Sub AcquireConnections ( _
    <InAttribute> pTransaction As Object _
)
[DispIdAttribute(30)] 
void AcquireConnections (
    [InAttribute] Object pTransaction
)
[DispIdAttribute(30)] 
void AcquireConnections (
    [InAttribute] Object^ pTransaction
)
/** @attribute DispIdAttribute(30) */ 
void AcquireConnections (
    /** @attribute InAttribute() */ Object pTransaction
)
DispIdAttribute(30) 
function AcquireConnections (
    pTransaction : Object
)

Parameter

  • pTransaction
    The transaction associated with the connection.

Hinweise

AcquireConnections is called during both component design and execution. Components that connect to external data sources should establish their connections by using this method. Any connection established during this method should be cached in a local member variable, and released during the ReleaseConnections method.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace