InstrSession.DetachData

Syntax

InstrSession.DetachData( uniqueId)

Purpose

Removes a user-defined data item from the session and disposes of the data. Pass an empty string as the uniqueId parameter to detach all user-defined data items.

Remarks

A session automatically detaches all its data items when it destroys itself.

Parameters

uniqueId As String

[In] Pass the unique string that identifies the data to remove and dispose. Pass an empty string to remove and dispose all data items.

See Also

Attaching Additional Data to a Session