ActionCubeConnectNI
DescriptionTries to connect to the cube set by one of the Open... properties. If the properties are not set, then no connection is made.
Exampleswith Cube1
 .OpenCube = "c:\OLAP_CUBES_DIR\gs3.cub"
 if .doAction("ConnectCubeNI") = True then
  msgBox "Successful connection"
 end if
end with
Example ExplanationConnects to the gs3.cub file.
See also
OpenServerOpen a cube located in MS Analysis Services
OpenFileOpen a local cube file
OpenViewOpen a local cube view
OpenWWWDirOpen a cube file or cube view located on a web server
NotesIf no property is set, no cube connection is made.