<div class="content" name="GetSubscriberPropertyCollection" uuid="7b3c746c-9ce3-4027-a5fa-64c0701fdaf7"><p>The GetSubscriberPropertyCollection method gets the
collection of all the application-specific <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_6d17ce3a-aa95-4db2-83f1-09d5feef3f95" data-linktype="relative-path">subscriber</a></span>
properties for the <span><a href="0d617a76-fc58-455c-9e30-1a8436c5f73a" data-linktype="relative-path">subscription</a></span>, as
specified in section 3.1.1.2.</p><dl>
<dd>
<div><pre> [id(20), helpstring(&#34;method GetSubscriberPropertyCollection&#34;)] HRESULT GetSubscriberPropertyCollection(
   [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 a 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 subscriber 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 subscriber 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 and
fail the call if it cannot.</p></div>