Partager via


Dispose Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Use this method to release resources by the TargetingProfileCollection object.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As TargetingProfileCollection

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()

Implements

IDisposable..::.Dispose()()()

Remarks

Releases all resources used by the current module.

Calling this method allows the resources used by the application context to be reallocated for other purposes.

ms986020.alert_caution(en-US,CS.70).gifImportant Note:

Calling the Dispose() method of this class, will release each object in the collection

Permissions

See Also

Reference

TargetingProfileCollection Class

TargetingProfileCollection Members

Microsoft.CommerceServer.Runtime.Targeting Namespace