Share via


ObjectReferenceTracker.DestroyList Method

This method destroys the specified reference list from reference tracking.

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

Syntax

'Declaration
Public Sub DestroyList ( _
    refListID As Integer _
)
'Usage
Dim instance As ObjectReferenceTracker
Dim refListID As Integer

instance.DestroyList(refListID)
public void DestroyList(
    int refListID
)
public:
void DestroyList(
    int refListID
)
member DestroyList : 
        refListID:int -> unit 
public function DestroyList(
    refListID : int
)

Parameters

  • refListID
    Type: System.Int32
    The reference list ID of the reference list to destroy.

Remarks

The refListID parameter is created when the list is newly generated using the AddReference method. The AddReference method returns to you a refListID, and it contains the ID of the newly created list. This returned refListID can be used in subsequent calls to add more references to the same list, remove references to the list, destroy a list, or when using the SetListInfo method.