sodatasourceconnection.h

来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_SODATASOURCECONNECTION_H__91E8EEAD_086B_49FA_AEFF_7913F47E83E0__INCLUDED_)
#define AFX_SODATASOURCECONNECTION_H__91E8EEAD_086B_49FA_AEFF_7913F47E83E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CsoDataSourceConnection wrapper class

class CsoDataSourceConnection : public COleDispatchDriver
{
public:
	CsoDataSourceConnection() {}		// Calls COleDispatchDriver default constructor
	CsoDataSourceConnection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CsoDataSourceConnection(const CsoDataSourceConnection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	CString GetDataBase();
	void SetDataBase(LPCTSTR);
	CString GetUser();
	void SetUser(LPCTSTR);
	CString GetPassword();
	void SetPassword(LPCTSTR);
	long GetEngineType();
	void SetEngineType(long);
	BOOL GetReadOnly();
	void SetReadOnly(BOOL);
	BOOL GetTransacted();
	void SetTransacted(BOOL);
	BOOL GetExclusive();
	void SetExclusive(BOOL);
	BOOL GetEncrypt();
	void SetEncrypt(BOOL);
	CString GetAlias();
	void SetAlias(LPCTSTR);
	CString GetServer();
	void SetServer(LPCTSTR);
	CString GetInstance();
	void SetInstance(LPCTSTR);

// Operations
public:
	BOOL Open(LPCTSTR strFileName);
	BOOL Save(LPCTSTR strFileName);
	BOOL Import(LPCTSTR strFileName);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SODATASOURCECONNECTION_H__91E8EEAD_086B_49FA_AEFF_7913F47E83E0__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?