Package.RegenerateID Method

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

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Sub RegenerateID
public void RegenerateID ()
public:
void RegenerateID ()
public void RegenerateID ()
public function RegenerateID ()

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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