新闻动态

添加服务器链接

发布日期:2019-08-05 16:22 | 文章来源:互联网

添加链接

SubClick
OnErrorGotoef
DimsessionAsNewNotesSession
DimdbNABAsNotesDatabase
DimdcAsNotesDocumentCollection
DimdocAsNotesDocument,docTempAsNotesDocument
DimstrSearchAsString
SetdbNab=session.GetDatabase
CalldbNab.Open
strSearch={&}
Setdc=dbNAB.Search
Ifdc.count>0Then
Setdoc=dc.getfirstdocument
Withdoc
.Destination="TEST02.CN.ABB.COM/SRV/ABB"
.LanPortName="TCPIP"
.PortName="TCPIP"
.OptionalNetworkAddress="10.138.250.27"
.PhoneNumber="10.138.250.27"
.Owner=session.username
.documentaccess="NetModifier"
Call.computewithform
Call.save
Msgbox"Connectiondocumenthasbeenupdated"
EndWith
Setdoc=dc.GetNextdocument
DoUntildocIsNothing
SetdocTemp=doc
Setdoc=dc.GetNextdocument
CalldocTemp.remove
Loop
Else
Setdoc=dbNab.CreateDocument
Withdoc
.form="local"
.type="Connection"
.connectionLocation="*"
.connectionType="0"
.Source="*"
.Destination="TEST02.CN.ABB.COM/SRV/ABB"
.LanPortName="TCPIP"
.PortName="TCPIP"
.OptionalNetworkAddress="10.138.250.27"
.PhoneNumber="10.138.250.27"
.Owner=session.username
.documentaccess="NetModifier"
Call.computewithform
Call.save
EndWith
Msgbox"Connectiondocumenthasbeencreated"
EndIf
ExitSub
ef:
Msgbox"erroris"&Error$&"”;andinline"&Erl,16,"Error"
ExitSub
EndSub

Tags:添加链接,添加服务器链接

版权声明:本站文章来源标注为YINGSOO的内容版权均为本站所有,欢迎引用、转载,请保持原文完整并注明来源及原文链接。禁止复制或仿造本网站,禁止在非www.yingsoo.com所属的服务器上建立镜像,否则将依法追究法律责任。本站部分内容来源于网友推荐、互联网收集整理而来,仅供学习参考,不代表本站立场,如有内容涉嫌侵权,请联系alex-e#qq.com处理。

相关文章

实时开通

自选配置、实时开通

免备案

全球线路精选!

全天候客户服务

7x24全年不间断在线

专属顾问服务

1对1客户咨询顾问

在线
客服

在线客服:7*24小时在线

客服
热线

400-630-3752
7*24小时客服服务热线

关注
微信

关注官方微信
顶部