Skip to main content
Table of Contents

TTMSMCPResources.UnregisterResource Method

Removes the entry published at one fixed address, when one is registered.

API unit family: TMS.MCP.Resources Declaring type: TTMSMCPResources

Syntax

TMS.MCP.Resources.hppPascalC++
function UnregisterResource(const URI: string): Boolean;
bool __fastcall UnregisterResource(const System::UnicodeString URI);

Remarks

Template entries are skipped, matching FindByURI. Removing an entry raises the collection's change notification, the same as any other removal.

Parameters

Name Description
URI Address of the entry to remove, compared case-sensitively.

Returns

True when a matching entry was found and removed, False when no fixed-address entry carries that address.