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.

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
Public Sub New ( _
    connection As AdomdConnection _
)
public AdomdConnection (
    AdomdConnection connection
)
public:
AdomdConnection (
    AdomdConnection^ connection
)
public AdomdConnection (
    AdomdConnection connection
)
public function AdomdConnection (
    connection : AdomdConnection
)

参数

  • connection
    An AdomdConnection from which to retrieve connection information.

备注

This constructor uses the AdomdConnection to create a new AdomdConnection.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace