pub trait IEventSubscription_Impl: Sized + IDispatch_Impl {
Show 34 methods
// Required methods
fn SubscriptionID(&self) -> Result<BSTR>;
fn SetSubscriptionID(&self, bstrsubscriptionid: &BSTR) -> Result<()>;
fn SubscriptionName(&self) -> Result<BSTR>;
fn SetSubscriptionName(&self, bstrsubscriptionname: &BSTR) -> Result<()>;
fn PublisherID(&self) -> Result<BSTR>;
fn SetPublisherID(&self, bstrpublisherid: &BSTR) -> Result<()>;
fn EventClassID(&self) -> Result<BSTR>;
fn SetEventClassID(&self, bstreventclassid: &BSTR) -> Result<()>;
fn MethodName(&self) -> Result<BSTR>;
fn SetMethodName(&self, bstrmethodname: &BSTR) -> Result<()>;
fn SubscriberCLSID(&self) -> Result<BSTR>;
fn SetSubscriberCLSID(&self, bstrsubscriberclsid: &BSTR) -> Result<()>;
fn SubscriberInterface(&self) -> Result<IUnknown>;
fn SetSubscriberInterface(
&self,
psubscriberinterface: Option<&IUnknown>,
) -> Result<()>;
fn PerUser(&self) -> Result<BOOL>;
fn SetPerUser(&self, fperuser: BOOL) -> Result<()>;
fn OwnerSID(&self) -> Result<BSTR>;
fn SetOwnerSID(&self, bstrownersid: &BSTR) -> Result<()>;
fn Enabled(&self) -> Result<BOOL>;
fn SetEnabled(&self, fenabled: BOOL) -> Result<()>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>;
fn MachineName(&self) -> Result<BSTR>;
fn SetMachineName(&self, bstrmachinename: &BSTR) -> Result<()>;
fn GetPublisherProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>;
fn PutPublisherProperty(
&self,
bstrpropertyname: &BSTR,
propertyvalue: *const VARIANT,
) -> Result<()>;
fn RemovePublisherProperty(&self, bstrpropertyname: &BSTR) -> Result<()>;
fn GetPublisherPropertyCollection(&self) -> Result<IEventObjectCollection>;
fn GetSubscriberProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>;
fn PutSubscriberProperty(
&self,
bstrpropertyname: &BSTR,
propertyvalue: *const VARIANT,
) -> Result<()>;
fn RemoveSubscriberProperty(&self, bstrpropertyname: &BSTR) -> Result<()>;
fn GetSubscriberPropertyCollection(&self) -> Result<IEventObjectCollection>;
fn InterfaceID(&self) -> Result<BSTR>;
fn SetInterfaceID(&self, bstrinterfaceid: &BSTR) -> Result<()>;
}
Required Methods§
fn SubscriptionID(&self) -> Result<BSTR>
fn SetSubscriptionID(&self, bstrsubscriptionid: &BSTR) -> Result<()>
fn SubscriptionName(&self) -> Result<BSTR>
fn SetSubscriptionName(&self, bstrsubscriptionname: &BSTR) -> Result<()>
fn PublisherID(&self) -> Result<BSTR>
fn SetPublisherID(&self, bstrpublisherid: &BSTR) -> Result<()>
fn EventClassID(&self) -> Result<BSTR>
fn SetEventClassID(&self, bstreventclassid: &BSTR) -> Result<()>
fn MethodName(&self) -> Result<BSTR>
fn SetMethodName(&self, bstrmethodname: &BSTR) -> Result<()>
fn SubscriberCLSID(&self) -> Result<BSTR>
fn SetSubscriberCLSID(&self, bstrsubscriberclsid: &BSTR) -> Result<()>
fn SubscriberInterface(&self) -> Result<IUnknown>
fn SetSubscriberInterface( &self, psubscriberinterface: Option<&IUnknown>, ) -> Result<()>
fn PerUser(&self) -> Result<BOOL>
fn SetPerUser(&self, fperuser: BOOL) -> Result<()>
fn OwnerSID(&self) -> Result<BSTR>
fn SetOwnerSID(&self, bstrownersid: &BSTR) -> Result<()>
fn Enabled(&self) -> Result<BOOL>
fn SetEnabled(&self, fenabled: BOOL) -> Result<()>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>
fn MachineName(&self) -> Result<BSTR>
fn SetMachineName(&self, bstrmachinename: &BSTR) -> Result<()>
fn GetPublisherProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>
fn PutPublisherProperty( &self, bstrpropertyname: &BSTR, propertyvalue: *const VARIANT, ) -> Result<()>
fn RemovePublisherProperty(&self, bstrpropertyname: &BSTR) -> Result<()>
fn GetPublisherPropertyCollection(&self) -> Result<IEventObjectCollection>
fn GetSubscriberProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>
fn PutSubscriberProperty( &self, bstrpropertyname: &BSTR, propertyvalue: *const VARIANT, ) -> Result<()>
fn RemoveSubscriberProperty(&self, bstrpropertyname: &BSTR) -> Result<()>
fn GetSubscriberPropertyCollection(&self) -> Result<IEventObjectCollection>
fn InterfaceID(&self) -> Result<BSTR>
fn SetInterfaceID(&self, bstrinterfaceid: &BSTR) -> Result<()>
Object Safety§
This trait is not object safe.