DtsConvert Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DtsConvert class.
public:
DtsConvert();
public DtsConvert ();
Public Sub New ()
Examples
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);
' Dim convert As DtsConvert = New DtsConvert()
Dim cm As ConnectionManager = Microsoft.SqlServer.Dts.Runtime.DtsConvert.ToConnectionManager(ComponentMetaData.RuntimeConnectionCollection(0).ConnectionManager)