Close connections to ODBC databases.
关闭连接到ODBC数据库。
用法----------Usage----------
odbcClose(channel)
## S3 method for class 'RODBC'
close(con, ...)
odbcCloseAll()
参数----------Arguments----------
参数:channel, con
RODBC connection object as returned by odbcConnect.
RODBC连接对象返回的odbcConnect。
参数:...
additional arguments passed from the generic.
从一般的额外的参数传递。
Details
详细信息----------Details----------
odbcClose cleans up and frees resources. It is also the method for the generic function close.
odbcClose清理和释放资源。这也是方法的通用函数close。
odbcCloseAll closes all open channels (amongst the first 1000 used in the session).
odbcCloseAll关闭所有打开的通道(其中包括会话中使用的前1000个)。
Channels are closed at the end of an R session, and may also be closed by garbage collection if no object refers to them. In both cases a warning is given (but may not be seen at the end of a console session).
通道的R会话结束时关闭,如果没有任何对象是指他们也可能被关闭的垃圾收集。在这两种情况下发出警告(但可能不被视为结束时的控制台会话)。
值----------Value----------
Function odbcClose returns invisibly a logical indicating if it succeeded.
功能odbcClose返回看不见的逻辑表明,如果它成功了。