Compartir a través de


Package.RegenerateID Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Sub RegenerateID
'Uso
Dim instance As Package

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

Comentarios

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

Vea también

Referencia

Package Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime