Метод SMOServerConn.AcquireConnection
Establishes the SMO 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 SMOServerConn
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
Параметры
- txn
Тип: System.Object
The handle to a transaction type.
Возвращаемое значение
Тип: System.Object
The connection object that contains the SMO connection.
Замечания
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 have been set on this class.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Dts.ManagedConnections