다음을 통해 공유


MSMQConn.AcquireConnection 메서드

Establishes the MSMQ connection and returns a connection object.

네임스페이스:  Microsoft.SqlServer.Dts.ManagedConnections
어셈블리:  Microsoft.SqlServer.ManagedConnections(Microsoft.SqlServer.ManagedConnections.dll)

구문

‘선언
Public Overrides Function AcquireConnection ( _
    txn As Object _
) As Object
‘사용 방법
Dim instance As MSMQConn 
Dim txn As Object 
Dim returnValue As Object 

returnValue = instance.AcquireConnection(txn)
public override Object AcquireConnection(
    Object txn
)
public:
virtual Object^ AcquireConnection(
    Object^ txn
) override
abstract AcquireConnection : 
        txn:Object -> Object  
override AcquireConnection : 
        txn:Object -> Object
public override function AcquireConnection(
    txn : Object
) : Object

매개 변수

반환 값

유형: System.Object
The connection object containing the MSMQ connection.

주의

During a call to AcquireConnection, the actual connection is created using properties that are set on the ConnectionManagerBase object, as well as any properties specific to the connection type that have been set on this class.

참고 항목

참조

MSMQConn 클래스

Microsoft.SqlServer.Dts.ManagedConnections 네임스페이스