IComponentData::Destroy method

The IComponentData::Destroy method releases all references to the console.

Syntax


HRESULT Destroy();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

S_OK

All the references to the console were successfully released.

E_UNEXPECTED

An unexpected error occurred.

Remarks

The snap-in is in the process of being unloaded. Release all references to the console.

Notes to Callers

Only the console calls this method.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

See also

IComponent
IComponent::Destroy
IComponentData
IConsole2

 

 

Show: