AcquireConnection Método
Establishes the WMI connection and returns a connection object.
Espacio de nombres: Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado: Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)
Sintaxis
'Declaración
Public Overrides Function AcquireConnection ( _
txn As Object _
) As Object
'Uso
Dim instance As WMIConn
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
Parámetros
- txn
Tipo: System. . :: . .Object
The handle to a transaction type.
Valor devuelto
Tipo: System. . :: . .Object
The connection object that contains the WMI connection.
Notas
During a call to the 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 were set on this class.
Vea también