Freigeben über


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

Eigenschaftswert

An AdomdConnection that contains a valid AdomdConnection reference.

Hinweise

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.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

AdomdTransaction Class
AdomdTransaction Members
Microsoft.AnalysisServices.AdomdClient Namespace