w3pop.com :: 网络学院 :: ADO :: ADO ActiveConnection 属性
The ActiveConnection property tells which Connection object the Command object belongs to.
ActiveConnection属性的作用是:区分指令对象所属于那个连接对象。
If the connection is closed, it sets or returns a definition for a connection. If the connection is open it sets or returns the current Connection object.
如果连接被关闭,它将返回一段关闭的确认信息;如果连接打开,它将返回当前的连接对象。
objcommand.ActiveConnection |
<% set comm=Server.CreateObject("ADODB.Command")
conn.close |
评论 (0)
All