Udostępnij za pośrednictwem


Package Constructor

Definition

Initializes a new instance of the Package class.

public:
 Package();
public Package ();
Public Sub New ()

Examples

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  

Applies to