Partager via


AdomdTransaction.Connection Property

Gets the AdomdConnection that the AdomdTransaction uses.

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

An AdomdConnection that contains a valid AdomdConnection reference.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdTransaction Class
AdomdTransaction Members
Microsoft.AnalysisServices.AdomdClient Namespace