Constructeur 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.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Sub New ( _
connection As AdomdConnection _
)
'Utilisation
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
)
Paramètres
- connection
Type : Microsoft.AnalysisServices.AdomdClient.AdomdConnection
An AdomdConnection from which to retrieve connection information.
Notes
This constructor uses the AdomdConnection to create a new AdomdConnection.