다음을 통해 공유


SMTPConn.AcquireConnection Method

Establishes the SMTP connection and returns a connection object.

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

구문

‘선언
Public Overrides Function AcquireConnection ( _
    txn As Object _
) As Object
public override Object AcquireConnection (
    Object txn
)
public:
virtual Object^ AcquireConnection (
    Object^ txn
) override
public Object AcquireConnection (
    Object txn
)
public override function AcquireConnection (
    txn : Object
) : Object

매개 변수

  • txn
    The handle to a transaction type.

반환 값

The connection object containing the SMTP connection.

주의

During AcquireConnection, the actual connection is created using properties that are set on ConnectionManagerBase object, as well as any connection-type specific properties set on this class

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace