Calls an Remote Program Call (RPC) routine defined on a remote server.
object.Command(Command)
Newlook Smartclient
Newlook Server
Command- (String, Required)
Specifies the command to be passed to the remote server for execution.
Note
The results of the command are made available through the Response property of the RPC Connection object.
The following examples show an RPC Command being performed after an initial RPC Connect Method. VBSCRIPTApp.RpcConnect "SampleConnect", "Network Address=192.168.1.1;Network Port=8475;Use Encryption for Data=False;User ID=test;Password=test;Host CCSID=37;NLV=2924" SampleConnect.Command "SNDMSG MSG('HELLO WORLD') TOUSR(TESTUSR)" SampleConnect.Disconnect
JSCRIPTApp.RpcConnect ("SampleConnect", "Network Address=192.168.1.1;Network Port=8475;Use Encryption for Data=False;User ID=test;Password=test;Host CCSID=37;NLV=2924"); SampleConnect.Command ("SNDMSG MSG('HELLO WORLD') TOUSR(TESTUSR)"); SampleConnect.Disconnect; |
RPCConnect Method | Disconnect Method
© 2004-2021 looksoftware. All rights reserved.