AdomdTransaction.Connection Property
Gets the AdomdConnection that the AdomdTransaction uses.
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Синтаксис
'Декларация
Public ReadOnly Property Connection As AdomdConnection
public AdomdConnection Connection { get; }
public:
property AdomdConnection^ Connection {
AdomdConnection^ get ();
}
/** @property */
public AdomdConnection get_Connection ()
public function get Connection () : AdomdConnection
Значение свойства
An AdomdConnection that contains a valid AdomdConnection reference.
Замечания
A single application can have multiple database connections, each with zero or more transactions. This property enables you to determine the connection object associated with a particular transaction.
AdomdTransaction objects cannot be reused across multiple AdomdConnection objects.
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
AdomdTransaction Class
AdomdTransaction Members
Microsoft.AnalysisServices.AdomdClient Namespace