[#BloombergLP-balm-PublicationScheduler-cancelCategorySchedule-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::cancelCategorySchedule
:relfileprefix: ../../../
:mrdocs:

Cancel the periodic publication of the specified null&hyphen;terminated string `category`&period; Return 0 on success, and a non&hyphen;zero value if the `category` is not scheduled for publication&period; Any scheduled publication of `category` is either canceled or completed before this method returns&period; Note that if a default publication schedule has been set (using `setDefaultSchedule`), then `category` will continue to be published as part of that scheduled default publication&semi; to exclude a category from any publication, clients can disable the category using the `MetricsManager` object supplied at construction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
cancelCategorySchedule(char const* category);
----


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