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.