Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DtsConvert Constructor

Initializes a new instance of the DtsConvert class.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public DtsConvert()

The following code example shows two ways to create the DtsConvert object. The first way, shown in comments, is to simply create the class. The second way is creating it inline, which is the most common way.

//DtsConvert convert = new DtsConvert();
ConnectionManager cm = Microsoft.SqlServer.Dts.Runtime.DtsConvert.ToConnectionManager(ComponentMetaData.RuntimeConnectionCollection[0].ConnectionManager);

Community Additions

© 2015 Microsoft