AdomdTransaction.Connection Property

 

Gets the AdomdConnection that the AdomdTransaction uses.

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

Syntax

public AdomdConnection Connection { get; }
public:
property AdomdConnection^ Connection {
    AdomdConnection^ get();
}
member Connection : AdomdConnection with get
Public ReadOnly Property Connection As AdomdConnection

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnection

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.

See Also

AdomdTransaction Class
Microsoft.AnalysisServices.AdomdClient Namespace

Return to top