Share via


Package Constructor

Initializes a new instance of the Package class.

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

Syntax

'Declaration
Public Sub New
public Package ()
public:
Package ()
public Package ()
public function Package ()

Remarks

The default constructor initializes any fields to their default values.

Example

The following code example creates a new Package.

using System;
using Microsoft.SqlServer.Dts.Runtime;
namespace Microsoft.Samples.SqlServer.Dts
{
    public static void Main(string []args)
    {
        Package p = new Package();
        //
        // Access methods and properties of the package here.
        //
    }
}
Imports System
Imports Microsoft.SqlServer.Dts.Runtime
Namespace Microsoft.Samples.SqlServer.Dts
    Public Shared  Sub Main(ByValstring()args)
        Dim p As Package =  New Package() 
        '
        ' Access methods and properties of the package here.
        '
    End Sub
End Namespace

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

Package Class
Package Members
Microsoft.SqlServer.Dts.Runtime Namespace