📄 msado15.h
字号:
// Machine generated IDispatch wrapper class(es) created with ClassWizard
/////////////////////////////////////////////////////////////////////////////
// _Collection wrapper class
class _Collection : public COleDispatchDriver
{
public:
_Collection() {} // Calls COleDispatchDriver default constructor
_Collection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Collection(const _Collection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
};
/////////////////////////////////////////////////////////////////////////////
// _DynaCollection wrapper class
class _DynaCollection : public COleDispatchDriver
{
public:
_DynaCollection() {} // Calls COleDispatchDriver default constructor
_DynaCollection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_DynaCollection(const _DynaCollection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
void Append(LPDISPATCH Object);
void Delete(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// _ADO wrapper class
class _ADO : public COleDispatchDriver
{
public:
_ADO() {} // Calls COleDispatchDriver default constructor
_ADO(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_ADO(const _ADO& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
};
/////////////////////////////////////////////////////////////////////////////
// Properties wrapper class
class Properties : public COleDispatchDriver
{
public:
Properties() {} // Calls COleDispatchDriver default constructor
Properties(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Properties(const Properties& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
LPDISPATCH GetItem(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// Property wrapper class
class Property : public COleDispatchDriver
{
public:
Property() {} // Calls COleDispatchDriver default constructor
Property(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Property(const Property& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
VARIANT GetValue();
void SetValue(const VARIANT& newValue);
CString GetName();
long GetType();
long GetAttributes();
void SetAttributes(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// Error wrapper class
class Error : public COleDispatchDriver
{
public:
Error() {} // Calls COleDispatchDriver default constructor
Error(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Error(const Error& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetNumber();
CString GetSource();
CString GetDescription();
CString GetHelpFile();
long GetHelpContext();
CString GetSQLState();
long GetNativeError();
};
/////////////////////////////////////////////////////////////////////////////
// Errors wrapper class
class Errors : public COleDispatchDriver
{
public:
Errors() {} // Calls COleDispatchDriver default constructor
Errors(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Errors(const Errors& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
long GetCount();
void Refresh();
LPDISPATCH GetItem(const VARIANT& Index);
void Clear();
};
/////////////////////////////////////////////////////////////////////////////
// _Command wrapper class
class _Command : public COleDispatchDriver
{
public:
_Command() {} // Calls COleDispatchDriver default constructor
_Command(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Command(const _Command& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
LPDISPATCH GetActiveConnection();
void SetRefActiveConnection(LPDISPATCH newValue);
void SetActiveConnection(const VARIANT& newValue);
CString GetCommandText();
void SetCommandText(LPCTSTR lpszNewValue);
long GetCommandTimeout();
void SetCommandTimeout(long nNewValue);
BOOL GetPrepared();
void SetPrepared(BOOL bNewValue);
LPDISPATCH Execute(VARIANT* RecordsAffected, VARIANT* Parameters, long Options);
LPDISPATCH CreateParameter(LPCTSTR Name, long Type, long Direction, long Size, const VARIANT& Value);
LPDISPATCH GetParameters();
void SetCommandType(long nNewValue);
long GetCommandType();
CString GetName();
void SetName(LPCTSTR lpszNewValue);
long GetState();
void Cancel();
};
/////////////////////////////////////////////////////////////////////////////
// _Connection wrapper class
class _Connection : public COleDispatchDriver
{
public:
_Connection() {} // Calls COleDispatchDriver default constructor
_Connection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Connection(const _Connection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
CString GetConnectionString();
void SetConnectionString(LPCTSTR lpszNewValue);
long GetCommandTimeout();
void SetCommandTimeout(long nNewValue);
long GetConnectionTimeout();
void SetConnectionTimeout(long nNewValue);
CString GetVersion();
void Close();
LPDISPATCH Execute(LPCTSTR CommandText, VARIANT* RecordsAffected, long Options);
long BeginTrans();
void CommitTrans();
void RollbackTrans();
void Open(LPCTSTR ConnectionString, LPCTSTR UserID, LPCTSTR Password, long Options);
LPDISPATCH GetErrors();
CString GetDefaultDatabase();
void SetDefaultDatabase(LPCTSTR lpszNewValue);
long GetIsolationLevel();
void SetIsolationLevel(long nNewValue);
long GetAttributes();
void SetAttributes(long nNewValue);
long GetCursorLocation();
void SetCursorLocation(long nNewValue);
long GetMode();
void SetMode(long nNewValue);
CString GetProvider();
void SetProvider(LPCTSTR lpszNewValue);
long GetState();
LPDISPATCH OpenSchema(long Schema, const VARIANT& Restrictions, const VARIANT& SchemaID);
void Cancel();
};
/////////////////////////////////////////////////////////////////////////////
// _Recordset wrapper class
class _Recordset : public COleDispatchDriver
{
public:
_Recordset() {} // Calls COleDispatchDriver default constructor
_Recordset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Recordset(const _Recordset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetProperties();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -