共用方式為


AdomdConnection.Open 方法

Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.

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

語法

'宣告
Public Sub Open
'用途
Dim instance As AdomdConnection

instance.Open()
public void Open()
public:
virtual void Open() sealed
abstract Open : unit -> unit  
override Open : unit -> unit
public final function Open()

實作

IDbConnection.Open()

備註

The Open method establishes a connection to an analytical data source. If the SessionID property is set to a valid active session ID, the Open method uses the specified session. Otherwise, the Open method requests a new session before connecting.

If the Catalog connection string setting in the ConnectionString property specifies a local cube (.cub) file, a local connection is opened using the local cube file.

請參閱

參考

AdomdConnection 類別

Open 多載

Microsoft.AnalysisServices.AdomdClient 命名空間