Connect

Connects to an OLAP server service running on a Microsoft® Windows NT® Server computer.

Syntax

dsoServer.Connect([ServerName])

dsoServer
A Decision Support Objects (DSO) server object
ServerName
The name of the Windows NT Server where the OLAP server is installed and running. You can use “LocalHost” to specify the OLAP server running on the same computer as your DSO application.
Remarks

The Connect method sets the name of the server object. If you need to reconnect to the same server, do not specify the name on subsequent executions of the method on the same object.

Example

Public dsoServer As DSO.Server

Set dsoServer = New DSO.Server

'Assume "Server1" to be the name of the Windows NT Server

'where the OLAP server service is installed and running

dsoServer.Connect("Server1")  'Error is raised if unable to connect

 

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.