Contains the name of the rule module (subroutine) to call on the MVSP Server.


Namespace: rocketsoftware.MVSP
Assembly: RocketMVSP (in RocketMVSP.dll)

Syntax

Visual Basic (Declaration)
Public Property ruleModule As String
C#
public string ruleModule { get; set; }
C++
public property string ruleModule sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_ruleModule();

/** property */
public void set_ruleModule(string value);
JScript
public function get ruleModule() : String

public function set ruleModule(value : String);

Property Value

a string containing the name of the currently set rule module

Remarks

Example connects and runs the demo1.sub rulemodule in the MVDEMO account

 Copy Code
 Dim returncode as boolean
 Dim mvsp as new rocketsoftware.MVSP.Pick
 Dim params as string = ""
 Dim results as string = ""
 returncode = mvsp.Connect("localhost",9000,"dm","")
 If returncode = True then
    returncode = mvsp.Logto("MVDEMO","")
    If returncode = True then
       mvsp.ruleModule = "DEMO1.SUB"
       params = "12" & chr(254) & "20"
       results = mvsp.MvCall(params)
       MsgBox(results)
    End if
 End if
 returncode = mvsp.CloseConnection()
 

See Also