|
Server Component Class: CRFramework.VISControls.VISServerControl
SetParameterValue(JobName As System.String, AppDomainName As System.String, ParameterName As System.String, ParameterValue As System.String)
Returns System.Boolean
The SetParameterValue allows you to set the value of a given parameter before running a job. Parameters are a powerful feature in BlueSky Integration Studio that allows you to make your jobs more dynamic. (see more on Parameters)
[VB]
Imports CRFramework.VISControls
Dim VIS As VISServerControl |
|
VIS = New VISServerControl() |
|
VIS.UserName = "administrator" |
VIS.Password = "manager" |
VIS.ServerName = "localhost" |
|
VIS.Connect() |
|
VIS.SetParameterValue("myJob", "SharedDomain", "DATEFROM", "01/01/2003") |
VIS.SetParameterValue("myJob", "SharedDomain", "DATETO", "12/31/2003") |
|
VIS.RunJob("myJob", "SharedDomain") |
[C#]
using CRFramework.VISControls;
VISServerControl VIS; |
|
VIS = new VISServerControl(); |
|
VIS.UserName = "administrator"; |
VIS.Password = "manager"; |
VIS.ServerName = "localhost"; |
|
VIS.Connect(); |
|
VIS.SetParameterValue("myJob", "SharedDomain", "DATEFROM", "01/01/2003"); |
VIS.SetParameterValue("myJob", "SharedDomain", "DATETO", "12/31/2003"); |
|
VIS.RunJob("myJob", "SharedDomain"); |
© 2003 - 2007 Relational Solutions, Inc. - All rights reserved