Delen via


AdomdConnection Constructor (AdomdConnection)

Initializes a new instance of the AdomdConnection class by using values from a specified AdomdConnection class. The session identifier and command state are not the same.

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

Syntax

'Declaration
Public Sub New ( _
    connection As AdomdConnection _
)
'Usage
Dim connection As AdomdConnection

Dim instance As New AdomdConnection(connection)
public AdomdConnection(
    AdomdConnection connection
)
public:
AdomdConnection(
    AdomdConnection^ connection
)
new : 
        connection:AdomdConnection -> AdomdConnection
public function AdomdConnection(
    connection : AdomdConnection
)

Parameters

Remarks

This constructor uses the AdomdConnection to create a new AdomdConnection.