commit()  connectStr( )

Chapter 5: General Objects and Methods

connect()

Description

Connects to the session name defined in clDbi resource field, RsDbSessionName. This name corresponds to the session entry specified in nnsyreg.dat file.

Syntax

connect();

Return value

Integer. Returns a positive integer if successful, and zero or negative integer, if failed.

Usage

Pointer to object

Object

pdbi->connect();

my_dbi.connect()





Copyright © 2005. Sybase Inc. All rights reserved. connectStr( )

View this book as PDF