Не вдалося завантажити сторінку. Спробуйте ще раз або перезавантажте її.
Соединение (IInfoBaseConnectionInfo)
Свойства:
AppID (AppID)blockedByDBMS (blockedByDBMS)
bytesAll (bytesAll)
bytesLast5Min (bytesLast5Min)
callsAll (callsAll)
callsLast5Min (callsLast5Min)
ConnectedAt (ConnectedAt)
ConnID (ConnID)
CurrentServiceName (CurrentServiceName)
dbConnMode (dbConnMode)
dbmsBytesAll (dbmsBytesAll)
dbmsBytesLast5Min (dbmsBytesLast5Min)
dbProcInfo (dbProcInfo)
dbProcTook (dbProcTook)
dbProcTookAt (dbProcTookAt)
durationAll (durationAll)
durationAllDBMS (durationAllDBMS)
durationAllService (durationAllService)
durationCurrent (durationCurrent)
durationCurrentDBMS (durationCurrentDBMS)
durationCurrentService (durationCurrentService)
durationLast5Min (durationLast5Min)
durationLast5MinDBMS (durationLast5MinDBMS)
durationLast5MinService (durationLast5MinService)
HostName (HostName)
IBConnMode (IBConnMode)
InBytesAll (InBytesAll)
InBytesCurrent (InBytesCurrent)
InBytesLast5Min (InBytesLast5Min)
MemoryAll (MemoryAll)
MemoryCurrent (MemoryCurrent)
MemoryLast5Min (MemoryLast5Min)
OutBytesAll (OutBytesAll)
OutBytesCurrent (OutBytesCurrent)
OutBytesLast5Min (OutBytesLast5Min)
UserName (UserName)
Описание:
Содержит параметры одного соединения клиентского приложения с информационной базой на кластере серверов BAF.
Представляет собой объект с интерфейсом IInfoBaseConnectionInfo.
Доступность:
Интеграция.
Пример:
| Rem Пример удаления всех соединений (фрагмент на VBScript): Set connector = CreateObject("V83.COMConnector") Set ragent = connector.ConnectAgent("CentralServer") ragent.AuthenticateAgent "CentralAdminName", "Password" clusters = ragent.GetClusters() Set cluster = clusters(0) ragent.Authenticate cluster, "ClusterAdminName", "Password" processes = ragent.GetWorkingProcesses(cluster) Set process0 = processes(0) WorkingAddress = process0.HostName ":" process0.MainPort Set server = connector.ConnectWorkingProcess(WorkingAddress) server.AddAuthentication "InfoBaseUserName", "Password" Set ibDesc = server.CreateInfoBaseInfo() ibDesc.Name = "InfoBaseName" connections = server.GetInfoBaseConnections(ibDesc) Dim i For i = LBound(connections) To UBound(connections) set connection = connections(i) server.Disconnect connection Next |
См. также:
Соединение с рабочим процессом, метод DisconnectИспользование в версии:
Доступен, начиная с версии 8.2.
Пов’язані елементи API
Соединение.AppID (IInfoBaseConnectionInfo.AppID)propertyСоединение.blockedByDBMS (IInfoBaseConnectionInfo.blockedByDBMS)propertyСоединение.bytesAll (IInfoBaseConnectionInfo.bytesAll)propertyСоединение.bytesLast5Min (IInfoBaseConnectionInfo.bytesLast5Min)propertyСоединение.callsAll (IInfoBaseConnectionInfo.callsAll)propertyСоединение.callsLast5Min (IInfoBaseConnectionInfo.callsLast5Min)propertyСоединение.ConnectedAt (IInfoBaseConnectionInfo.ConnectedAt)propertyСоединение.ConnID (IInfoBaseConnectionInfo.ConnID)propertyСоединение.CurrentServiceName (IInfoBaseConnectionInfo.CurrentServiceName)propertyСоединение.dbConnMode (IInfoBaseConnectionInfo.dbConnMode)propertyСоединение.dbmsBytesAll (IInfoBaseConnectionInfo.dbmsBytesAll)propertyСоединение.dbmsBytesLast5Min (IInfoBaseConnectionInfo.dbmsBytesLast5Min)propertyСоединение.dbProcInfo (IInfoBaseConnectionInfo.dbProcInfo)propertyСоединение.dbProcTook (IInfoBaseConnectionInfo.dbProcTook)propertyСоединение.dbProcTookAt (IInfoBaseConnectionInfo.dbProcTookAt)propertyСоединение.durationAll (IInfoBaseConnectionInfo.durationAll)propertyСоединение.durationAllDBMS (IInfoBaseConnectionInfo.durationAllDBMS)propertyСоединение.durationAllService (IInfoBaseConnectionInfo.durationAllService)propertyСоединение.durationCurrent (IInfoBaseConnectionInfo.durationCurrent)propertyСоединение.durationCurrentDBMS (IInfoBaseConnectionInfo.durationCurrentDBMS)propertyСоединение.durationCurrentService (IInfoBaseConnectionInfo.durationCurrentService)propertyСоединение.durationLast5Min (IInfoBaseConnectionInfo.durationLast5Min)propertyСоединение.durationLast5MinDBMS (IInfoBaseConnectionInfo.durationLast5MinDBMS)propertyСоединение.durationLast5MinService (IInfoBaseConnectionInfo.durationLast5MinService)propertyСоединение.HostName (IInfoBaseConnectionInfo.HostName)propertyСоединение.IBConnMode (IInfoBaseConnectionInfo.IBConnMode)propertyСоединение.InBytesAll (IInfoBaseConnectionInfo.InBytesAll)propertyСоединение.InBytesCurrent (IInfoBaseConnectionInfo.InBytesCurrent)propertyСоединение.InBytesLast5Min (IInfoBaseConnectionInfo.InBytesLast5Min)propertyСоединение.MemoryAll (IInfoBaseConnectionInfo.MemoryAll)propertyСоединение.MemoryCurrent (IInfoBaseConnectionInfo.MemoryCurrent)propertyСоединение.MemoryLast5Min (IInfoBaseConnectionInfo.MemoryLast5Min)propertyСоединение.OutBytesAll (IInfoBaseConnectionInfo.OutBytesAll)propertyСоединение.OutBytesCurrent (IInfoBaseConnectionInfo.OutBytesCurrent)propertyСоединение.OutBytesLast5Min (IInfoBaseConnectionInfo.OutBytesLast5Min)propertyСоединение.UserName (IInfoBaseConnectionInfo.UserName)property