Partajați prin


Dispose Method

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

Releases all resources used by the ProfileXsdSchemaExport.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As ProfileXsdSchemaExport

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

Implements

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

Remarks

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Call Dispose when you are finished using the ProfileXsdSchemaExport. The Dispose method leaves the ProfileXsdSchemaExport in an unusable state. After calling Dispose, you must release all references to the ProfileXsdSchemaExport so the garbage collector can reclaim the memory that the ProfileXsdSchemaExport was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Note

Always call Dispose before you release your last reference to the ProfileXsdSchemaExport. Otherwise, the resources it is using will not be freed until the garbage collector calls the ProfileXsdSchemaExport object's Finalize method.

Permissions

See Also

Reference

ProfileXsdSchemaExport Class

ProfileXsdSchemaExport Members

Microsoft.CommerceServer.Profiles Namespace