Data Management Object Model Reference

IJob.SaveToString Method 

Saves the DMOM state into a string, this string will contain the generated DMS script

[Visual Basic]
Function SaveToString() As String
[C#]
string SaveToString();

See Also

IJob Interface | SPSSMR.Data.Transformations Namespace