共用方式為


3.1.4.8.1 get_FilterCriteria (Opnum 41)

The get_FilterCriteria method gets the FilterCriteria property for the subscription.

 [propget, id(22), helpstring("property FilterCriteria")] HRESULT FilterCriteria(
   [out, retval] BSTR* pbstrFilterCriteria
 );

pbstrFilterCriteria: If the method returns a success HRESULT, this MUST contain the value of the FilterCriteria property of the subscription, as specified in section 3.1.1.2. The syntax for this string is specified in section 2.2.1.

Return Values: An HRESULT specifying success or failure. All success codes MUST be treated the same, and all failure codes MUST be treated the same.

When this method is invoked, the server MUST verify that this value was previously set on this DCOM object instance servicing this method call. If not, the server MUST fail the call, returning a failure HRESULT back to the client. Otherwise, the server MUST return the value of the FilterCriteria property.