当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO ActiveConnection 属性

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO ActiveConnection 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 432 ::
收藏到网摘: n/a

The ActiveConnection property sets or returns a string or variant that tells which Connection object the Record object belongs to.  
ActiveConnection属性的作用是:设置或返回了一个用于区分指令对象属于哪个连接对象的字符串或变量。

If the connection is closed, it sets or returns a string definition for a connection. If the connection is open it sets or returns a variant that is a reference to the current Connection object.
如果连接被关闭,它将为连接返回一段关闭的确认信息;如果连接打开,它将返回一段当前连接对象的参数。

Tip: The ActiveConnection parameter of the Open method of the Record object can also be used to set this property.
提示:Record对象的Open方法中的ActiveConnection参数也可以用来设置该属性。

Syntax
语法

objrecord.ActiveConnection

评论 (0) All

登陆 | 还没注册?