RegenerateID 方法

Creates a new GUID for the package and updates the package ID property.

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

语法

声明
Public Sub RegenerateID
用法
Dim instance As Package

instance.RegenerateID()
public void RegenerateID()
public:
void RegenerateID()
member RegenerateID : unit -> unit 
public function RegenerateID()

注释

When a package is copied, this method creates a new ID for the copied package; therefore, the log files contain a new GUID that is unique to the newly copied package and is different from the GUID of the package that was copied