Compartilhar via


Propriedade do RDL AdomdTransaction.Connection

Gets the AdomdConnection that the AdomdTransaction uses.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Property Connection As AdomdConnection 
    Get
'Uso
Dim instance As AdomdTransaction 
Dim value As AdomdConnection 

value = instance.Connection
public AdomdConnection Connection { get; }
public:
property AdomdConnection^ Connection {
    AdomdConnection^ get ();
}
member Connection : AdomdConnection
function get Connection () : AdomdConnection

Valor da propriedade

Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdConnection
An AdomdConnection that contains a valid AdomdConnection reference.

Comentários

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.

Consulte também

Referência

AdomdTransaction Classe

Namespace Microsoft.AnalysisServices.AdomdClient