Invoke example

This sample demonstrates invoking the JobtClsLogErrorSp method on the SLJobtCls IDO, passing two parameters and retrieving the output value for the second parameter.

InvokeResponseData invokeResponse =     InvokeResponseData(); 
string message =     ; 
invokeResponse =     .Context.Commands.Invoke("SLJobtCls", "JobtClsLogErrorSp", transNum, IDONull.Value); 
message = invokeResponse.Parameters[1].Value;