DtsConvert Constructor
Initializes a new instance of the DtsConvert class. This constructor is not CLS-compliant.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Syntax
'Declaration
Public Sub New
public DtsConvert ()
public:
DtsConvert ()
public DtsConvert ()
public function DtsConvert ()
Remarks
The default constructor initializes any fields to their default values.
Example
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)
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
DtsConvert Class
DtsConvert Members
Microsoft.SqlServer.Dts.Runtime Namespace