Oracle Objects for OLE
Release 9.2

Part Number A95895-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

OraSession Object

See Also
Properties
Methods

Description

An OraSession object manages collections of OraDatabase, OraConnection, and OraDynaset objects used within an application.

Remarks

Typically, a single OraSession object is created for each application, but you can create named OraSession objects for shared use within and between applications.

The OraSession object is the top-most level object for an application. OraSession and OraServer are the only objects created by the CreateObject VB/VBA API and not by an Oracle Objects for OLE method. The following code fragments show how to create an OraSession object:

Dim oo4oSession as Object

Set oo4oSession = CreateObject("OracleInProcServer.XOraSession")

or

Dim oo4oSession as New OraSessionClass

or

Dim oo4oSession as OraSession

Set oo4oSession = New OraSessionClass


 
Oracle
Copyright © 1994, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback