<div class="content"><p> </p><p>The GetPublisherPropertyCollection method gets all the
application-specific <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_7db8a6a0-d924-48bb-b9f3-08fcd58d0dc5" data-linktype="relative-path">publisher</a></span> properties
as a collection of the <span><a href="0d617a76-fc58-455c-9e30-1a8436c5f73a" data-linktype="relative-path">subscription</a></span>. See publisher
properties in section 3.1.1.2.</p><dl>
<dd>
<div><pre> [id(16), helpstring(&#34;method GetPublisherPropertyCollection&#34;)] HRESULT GetPublisherPropertyCollection(
   [out, retval] IEventObjectCollection** collection
 );
</pre></div>
</dd></dl><p><b>collection: </b>If the function returns a success <span><a href="../ms-dtyp/a9046ed2-bfb2-4d56-a719-2824afce59ac" data-linktype="relative-path">HRESULT</a></span>,
this MUST return an instance of DCOM <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_8bb43a65-7a8c-4585-a7ed-23044772f8ca" data-linktype="relative-path">object</a></span> supporting
the <span><a href="ac9b9d0e-1fe0-4ea8-a917-55b38055a1b2" data-linktype="relative-path">IEventObjectCollection</a></span>
which MUST contain a collection of application-specific publisher properties.
These properties MUST conform to the specification given in section <span><a href="e6624b5f-1ab5-4122-91cd-82775a1c9efa" data-linktype="relative-path">2.2.2</a></span>.</p><p><b>Return Values: </b>An HRESULT specifying success
or failure. All success codes MUST be treated the same, and all failure codes
MUST be treated the same.</p><p>When this method is invoked, the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a></span> MUST
enumerate all publisher properties associated with the instance of the DCOM
object servicing this call. It MUST attempt to store these in a collection DCOM
object supporting IEventObjectCollection interface and fail the call, returning
a failure HRESULT back to the client if it cannot. It MUST then return this
DCOM object instance through the <i>collection</i> parameter.</p></div>