Package 构造函数

Initializes a new instance of the Package class.

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Sub New
用法
Dim instance As New Package()
public Package()
public:
Package()
new : unit -> Package
public function Package()

示例

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

请参阅

参考

Package 类

Microsoft.SqlServer.Dts.Runtime 命名空间