diff options
Diffstat (limited to 'offapi/com/sun/star/sdbc/XDataSource.idl')
-rw-r--r-- | offapi/com/sun/star/sdbc/XDataSource.idl | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/offapi/com/sun/star/sdbc/XDataSource.idl b/offapi/com/sun/star/sdbc/XDataSource.idl index b21d07425c95..ba2e0466ac95 100644 --- a/offapi/com/sun/star/sdbc/XDataSource.idl +++ b/offapi/com/sun/star/sdbc/XDataSource.idl @@ -2,9 +2,9 @@ * * $RCSfile: XDataSource.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mi $ $Date: 2001-11-01 16:46:46 $ + * last change: $Author: mi $ $Date: 2002-10-03 13:07:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -85,6 +85,14 @@ interface XDataSource: com::sun::star::uno::XInterface // DocMerge from xml: method com::sun::star::sdbc::XDataSource::getConnection /** attempts to establish a database connection. + @param user + the user name + @param password + the password + @returns + the connection object + @throws SQLException + if a database access error occurs. */ XConnection getConnection([in]string user, [in]string password) raises (SQLException); @@ -95,10 +103,15 @@ interface XDataSource: com::sun::star::uno::XInterface while attempting to connect to a database. - <p>A value of zero specifies that the timeout is the default system + <p> + A value of zero specifies that the timeout is the default system timeout if there is one; otherwise, it specifies that there is no timeout. When a DataSource object is created the login timeout is initially zero. </p> + @param seconds + the login time limit in seconds + @throws SQLException + if a database access error occurs. */ void setLoginTimeout([in]long seconds) raises (SQLException); @@ -109,10 +122,15 @@ interface XDataSource: com::sun::star::uno::XInterface while attempting to connect to a database. - <p> A value of zero means that the timeout is the default system timeout + <p> + A value of zero means that the timeout is the default system timeout if there is one; otherwise, it means that there is no timeout. When a DataSource object is created the login timeout is initially zero. </p> + @returns + the login time limit in seconds + @throws SQLException + if a database access error occurs. */ long getLoginTimeout() raises (SQLException); }; @@ -123,6 +141,12 @@ interface XDataSource: com::sun::star::uno::XInterface /*=========================================================================== $Log: not supported by cvs2svn $ + Revision 1.5.2.1 2002/02/18 09:00:56 oj + #97563# parameter,return value and exception description + + Revision 1.5 2001/11/01 16:46:46 mi + proofreading and corrections from Richard Holt + Revision 1.4 2001/03/16 16:41:35 jsc remove interfaceheader with uik and remove [const] in method definitions |