SMTPConn.AcquireConnection Method
Establishes the SMTP connection and returns a connection object.
Espacio de nombres: Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
Sintaxis
'Declaración
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
Parámetros
- txn
The handle to a transaction type.
Valor devuelto
The connection object containing the SMTP connection.
Notas
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
Seguridad para subprocesos
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.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace