Data Management Object Model Reference

IJob.SaveXml Method 

Saves a DMS script to XML file, the SaveXML method calls SaveToString internally to persist the DMOM state

[Visual Basic]
Sub SaveXml( _
   ByVal XmlFileName As String _
)
[C#]
void SaveXml(
   string XmlFileName
);

See Also

IJob Interface | SPSSMR.Data.Transformations Namespace