com.moesol.bindings.platform_sdk.data_services
Class Connection
java.lang.Object
com.moesol.bindings.platform_sdk.component_services.IUnknown.Jni
com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni
com.moesol.bindings.platform_sdk.data_services._ADO.Jni
com.moesol.bindings.platform_sdk.data_services.Connection15.Jni
com.moesol.bindings.platform_sdk.data_services._Connection.Jni
com.moesol.bindings.platform_sdk.data_services.Connection
- All Implemented Interfaces:
- IDispatch, IUnknown, _ADO, _Connection, Connection15
- Direct Known Subclasses:
- Connection.Jni
public class Connection
- extends _Connection.Jni
IDL: [ helpstring(""), creatable, licensed ]
coclass Connection {
[default] dispatch _Connection
[default, source] dispatch ConnectionEvents
};
Fields inherited from interface com.moesol.bindings.platform_sdk.data_services._Connection |
IID |
Methods inherited from class com.moesol.bindings.platform_sdk.data_services.Connection15.Jni |
BeginTrans, Close, CommitTrans, Execute, getAttributes, getCommandTimeout, getConnectionString, getConnectionTimeout, getCursorLocation, getDefaultDatabase, getErrors, getIsolationLevel, getMode, getProvider, getState, getVersion, Open, OpenSchema, OpenSchema, OpenSchema, RollbackTrans, setAttributes, setCommandTimeout, setConnectionString, setConnectionTimeout, setCursorLocation, setDefaultDatabase, setIsolationLevel, setMode, setProvider |
Methods inherited from class com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni |
Invoke |
Methods inherited from interface com.moesol.bindings.platform_sdk.data_services.Connection15 |
BeginTrans, Close, CommitTrans, Execute, getAttributes, getCommandTimeout, getConnectionString, getConnectionTimeout, getCursorLocation, getDefaultDatabase, getErrors, getIsolationLevel, getMode, getProvider, getState, getVersion, Open, OpenSchema, OpenSchema, OpenSchema, RollbackTrans, setAttributes, setCommandTimeout, setConnectionString, setConnectionTimeout, setCursorLocation, setDefaultDatabase, setIsolationLevel, setMode, setProvider |
Methods inherited from interface com.moesol.bindings.platform_sdk.data_services._ADO |
getProperties |
TYPELIB
public static final Class TYPELIB
CLSID
public static final GUID CLSID
IDL: [uuid(00000514-0000-0010-8000-00AA006D2EA4)]
Connection
public Connection()
- Create a new instance using
CLSCTX_ALL
.
Connection
public Connection(int clsctx)
- Create a new instance.
- Parameters:
clsctx
- Context in which the code that manages the newly created object will run.
The values are taken from the enumeration CLSCTX
.
Connection
protected Connection(Connection.Jni marker)
- Create a new instances for reverse COM. Does not call CoCreateInstance.
- Parameters:
marker
-
addConnectionEventsListener
public int addConnectionEventsListener(ConnectionEvents l)
- Add a listener for ConnectionEvents.
removeConnectionEventsListener
public void removeConnectionEventsListener(ConnectionEvents l)
- Remove listener for ConnectionEvents.
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.