共用方式為


AdomdConnection 建構 (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.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Sub New ( _
    connection As AdomdConnection _
)
'用途
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
)

參數

備註

This constructor uses the AdomdConnection to create a new AdomdConnection.