[#BloombergLP-balm-BdlmMetricsAdapter-removeCollectionCallback]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/BdlmMetricsAdapter.adoc[BdlmMetricsAdapter]::removeCollectionCallback
:relfileprefix: ../../../
:mrdocs:

Remove the collection callback associated with the specified `handle`&period;

== Synopsis

Declared in `&lt;balm&lowbar;bdlmmetricsadapter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
int
removeCollectionCallback(xref:BloombergLP/bdlm/MetricsAdapter/CallbackHandle.adoc[CallbackHandle] const& handle) override;
----

== Description

Remove the callback associated with the specified `handle` from the metrics manager specified at construction&period; Return 0 on success, or a non&hyphen;zero value if `handle` cannot be found&period;

== Return Value

0 on success, or a non&hyphen;zero value if `handle` cannot be found

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| callback handle returned by registration
|===


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