AdomdTransaction.Connection Property
Gets the AdomdConnection that the AdomdTransaction uses.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
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
Property Value
An AdomdConnection that contains a valid AdomdConnection reference.
Remarks
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.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdTransaction Class
AdomdTransaction Members
Microsoft.AnalysisServices.AdomdClient Namespace