[#CRPCTable-removeCommand]
= xref:CRPCTable.adoc[CRPCTable]::removeCommand
:relfileprefix: ../
:mrdocs:

Remove a previously registered command from the dispatch table&period;

== Synopsis

Declared in `&lt;rpc&sol;server&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
removeCommand(
    std::string const& name,
    xref:CRPCCommand.adoc[CRPCCommand] const* pcmd);
----

== Return Value

True if the command was found and removed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| The method name the command was registered under&period;
| *pcmd*
| The command to remove&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
