Compartir a través de


AdomdConnection.Open Method

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

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
Public Sub Open
public void Open ()
public:
virtual void Open () sealed
public final void Open ()
public final function Open ()

Notas

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.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace