共用方式為


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