我们老大给我的程序中有这么几句
sysServerName:=SocketConn.AppServer.GetDBServer; //服务器名称
sAppDBUser:=SocketConn.AppServer.GetDBUserName;//用户名称
sPassword:=SocketConn.AppServer.GetDBPassword; //用户密码
我有点晕,看不太明白,我自己写的时候没有getdbserver这些啊,就是我在Appserver后面再敲.就报错说不能完成调用,有谁能告诉我为什么吗?
还有就是我不太明白scoketconnetion的使用方法,望大虾们指教一二
sysServerName:=SocketConn.AppServer.GetDBServer; //服务器名称
sAppDBUser:=SocketConn.AppServer.GetDBUserName;//用户名称
sPassword:=SocketConn.AppServer.GetDBPassword; //用户密码
我有点晕,看不太明白,我自己写的时候没有getdbserver这些啊,就是我在Appserver后面再敲.就报错说不能完成调用,有谁能告诉我为什么吗?
还有就是我不太明白scoketconnetion的使用方法,望大虾们指教一二
GetDBUserName
GetDBPassword
这几个方法是中间层已经实现了的,SocketConn.AppServer.GetDBServer就是远程调用中间层的GetDBServer方法
GetDBServer
GetDBUserName
GetDBPassword
这几个方法是中间层已经实现了的,SocketConn.AppServer.GetDBServer就是远程调用中间层的GetDBServer方法。