Partilhar via


Construtor Package

Initializes a new instance of the Package class.

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

Sintaxe

'Declaração
Public Sub New
'Uso

Dim instance As New Package()
public Package()
public:
Package()
new : unit -> Package
public function Package()

Exemplos

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