connect()  debugOff()

Chapter 5: General Objects and Methods

connectStr( )

Description

Allows the clDbi object to connect to a data source during runtime.

Notee-Biz Impact versions earlier than version 5.4.5 used OpenTransport as the underlying connection using nnsyreg.dat.

Syntax

public int connectStr(string strDsn,
                                 string strUser,
                                     string strPassword)

Parameters

Return value

Returns 1 for a successful connection; 0 for a failed connection.





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

View this book as PDF