Module::UnregisterObjects Method

Unregisters the objects in the specified module so that other applications cannot connect to them.

HRESULT UnregisterObjects(
   ModuleBase* module,
   const wchar_t* serverName);

Parameters

  • module
    Pointer to a module.

  • serverName
    A qualifying name that specifies a subset of objects affected by this operation.

Return Value

S_OK if this operation is successful; otherwise, an error HRESULT that indicates the reason this operation failed.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

Reference

Module Class