Data Management Object Model Reference

IJob.GlobalVariables Property

Description: This property returns the Job's global variables collection. Examples: To return the Job's global variables collection: Job.GlobalVariables.Item["SomeVar"] Job.GlobalVariables["SomeVar"] Job.GlobalVariables.SomeVar To add an object to the collection: Dim somevalue somevalue=CreateObject("SomeValue") Job.GlobalVariables.Add("SomeNewVar",somevalue) Note: Only the syntax Job.GlobalVariables.SomeVar = SomeValue can be used to SET the value of a global variable.

[Visual Basic]
Property GlobalVariables As IDataManagerGlobalVariables
[C#]
SPSSMR.Data.Scripting.IDataManagerGlobalVariables GlobalVariables {get; set;}

See Also

IJob Interface | SPSSMR.Data.Transformations Namespace