Uninitialize Method (DTS)

The Uninitialize method clears all state information and releases all related objects, allowing the Package object to be reused.

Applies To
Package Object  

Syntax

Package.Uninitialize()

Part Description
Package Expression that evaluates to an object in the Applies To list

Remarks

The Uninitialize method clears the execution-related state of the Package object, including any event sinks registered or any active sessions made by a Connection object. You must call Uninitialize before the Package object is final-released because event sinks may contain a circular reference. All child objects of the Package object must be released before you call Uninitialize. This method does not affect the presence of any structural elements of the package, such as removing items that have been added to collections. To implement a new Package object, simply release all references to a prior one or its children, and then create a new one.Prototype (C/C++)

HRESULT UnInitialize();

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.