Package.RegenerateID Method

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

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public Sub RegenerateID
public void RegenerateID ()
public:
void RegenerateID ()
public void RegenerateID ()
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

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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