Trait ICOMAdminCatalog2_Impl
pub trait ICOMAdminCatalog2_Impl: ICOMAdminCatalog_Impl {
Show 31 methods
// Required methods
fn GetCollectionByQuery2(
&self,
bstrcollectionname: &BSTR,
pvarquerystrings: *const VARIANT,
) -> Result<IDispatch>;
fn GetApplicationInstanceIDFromProcessID(
&self,
lprocessid: i32,
) -> Result<BSTR>;
fn ShutdownApplicationInstances(
&self,
pvarapplicationinstanceid: *const VARIANT,
) -> Result<()>;
fn PauseApplicationInstances(
&self,
pvarapplicationinstanceid: *const VARIANT,
) -> Result<()>;
fn ResumeApplicationInstances(
&self,
pvarapplicationinstanceid: *const VARIANT,
) -> Result<()>;
fn RecycleApplicationInstances(
&self,
pvarapplicationinstanceid: *const VARIANT,
lreasoncode: i32,
) -> Result<()>;
fn AreApplicationInstancesPaused(
&self,
pvarapplicationinstanceid: *const VARIANT,
) -> Result<VARIANT_BOOL>;
fn DumpApplicationInstance(
&self,
bstrapplicationinstanceid: &BSTR,
bstrdirectory: &BSTR,
lmaximages: i32,
) -> Result<BSTR>;
fn IsApplicationInstanceDumpSupported(&self) -> Result<VARIANT_BOOL>;
fn CreateServiceForApplication(
&self,
bstrapplicationidorname: &BSTR,
bstrservicename: &BSTR,
bstrstarttype: &BSTR,
bstrerrorcontrol: &BSTR,
bstrdependencies: &BSTR,
bstrrunas: &BSTR,
bstrpassword: &BSTR,
bdesktopok: VARIANT_BOOL,
) -> Result<()>;
fn DeleteServiceForApplication(
&self,
bstrapplicationidorname: &BSTR,
) -> Result<()>;
fn GetPartitionID(&self, bstrapplicationidorname: &BSTR) -> Result<BSTR>;
fn GetPartitionName(&self, bstrapplicationidorname: &BSTR) -> Result<BSTR>;
fn SetCurrentPartition(&self, bstrpartitionidorname: &BSTR) -> Result<()>;
fn CurrentPartitionID(&self) -> Result<BSTR>;
fn CurrentPartitionName(&self) -> Result<BSTR>;
fn GlobalPartitionID(&self) -> Result<BSTR>;
fn FlushPartitionCache(&self) -> Result<()>;
fn CopyApplications(
&self,
bstrsourcepartitionidorname: &BSTR,
pvarapplicationid: *const VARIANT,
bstrdestinationpartitionidorname: &BSTR,
) -> Result<()>;
fn CopyComponents(
&self,
bstrsourceapplicationidorname: &BSTR,
pvarclsidorprogid: *const VARIANT,
bstrdestinationapplicationidorname: &BSTR,
) -> Result<()>;
fn MoveComponents(
&self,
bstrsourceapplicationidorname: &BSTR,
pvarclsidorprogid: *const VARIANT,
bstrdestinationapplicationidorname: &BSTR,
) -> Result<()>;
fn AliasComponent(
&self,
bstrsrcapplicationidorname: &BSTR,
bstrclsidorprogid: &BSTR,
bstrdestapplicationidorname: &BSTR,
bstrnewprogid: &BSTR,
bstrnewclsid: &BSTR,
) -> Result<()>;
fn IsSafeToDelete(&self, bstrdllname: &BSTR) -> Result<COMAdminInUse>;
fn ImportUnconfiguredComponents(
&self,
bstrapplicationidorname: &BSTR,
pvarclsidorprogid: *const VARIANT,
pvarcomponenttype: *const VARIANT,
) -> Result<()>;
fn PromoteUnconfiguredComponents(
&self,
bstrapplicationidorname: &BSTR,
pvarclsidorprogid: *const VARIANT,
pvarcomponenttype: *const VARIANT,
) -> Result<()>;
fn ImportComponents(
&self,
bstrapplicationidorname: &BSTR,
pvarclsidorprogid: *const VARIANT,
pvarcomponenttype: *const VARIANT,
) -> Result<()>;
fn Is64BitCatalogServer(&self) -> Result<VARIANT_BOOL>;
fn ExportPartition(
&self,
bstrpartitionidorname: &BSTR,
bstrpartitionfilename: &BSTR,
loptions: COMAdminApplicationExportOptions,
) -> Result<()>;
fn InstallPartition(
&self,
bstrfilename: &BSTR,
bstrdestdirectory: &BSTR,
loptions: COMAdminApplicationInstallOptions,
bstruserid: &BSTR,
bstrpassword: &BSTR,
bstrrsn: &BSTR,
) -> Result<()>;
fn QueryApplicationFile2(
&self,
bstrapplicationfile: &BSTR,
) -> Result<IDispatch>;
fn GetComponentVersionCount(&self, bstrclsidorprogid: &BSTR) -> Result<i32>;
}
Required Methods§
fn GetCollectionByQuery2( &self, bstrcollectionname: &BSTR, pvarquerystrings: *const VARIANT, ) -> Result<IDispatch>
fn GetApplicationInstanceIDFromProcessID(&self, lprocessid: i32) -> Result<BSTR>
fn ShutdownApplicationInstances( &self, pvarapplicationinstanceid: *const VARIANT, ) -> Result<()>
fn PauseApplicationInstances( &self, pvarapplicationinstanceid: *const VARIANT, ) -> Result<()>
fn ResumeApplicationInstances( &self, pvarapplicationinstanceid: *const VARIANT, ) -> Result<()>
fn RecycleApplicationInstances( &self, pvarapplicationinstanceid: *const VARIANT, lreasoncode: i32, ) -> Result<()>
fn AreApplicationInstancesPaused( &self, pvarapplicationinstanceid: *const VARIANT, ) -> Result<VARIANT_BOOL>
fn DumpApplicationInstance( &self, bstrapplicationinstanceid: &BSTR, bstrdirectory: &BSTR, lmaximages: i32, ) -> Result<BSTR>
fn IsApplicationInstanceDumpSupported(&self) -> Result<VARIANT_BOOL>
fn CreateServiceForApplication( &self, bstrapplicationidorname: &BSTR, bstrservicename: &BSTR, bstrstarttype: &BSTR, bstrerrorcontrol: &BSTR, bstrdependencies: &BSTR, bstrrunas: &BSTR, bstrpassword: &BSTR, bdesktopok: VARIANT_BOOL, ) -> Result<()>
fn DeleteServiceForApplication( &self, bstrapplicationidorname: &BSTR, ) -> Result<()>
fn GetPartitionID(&self, bstrapplicationidorname: &BSTR) -> Result<BSTR>
fn GetPartitionName(&self, bstrapplicationidorname: &BSTR) -> Result<BSTR>
fn SetCurrentPartition(&self, bstrpartitionidorname: &BSTR) -> Result<()>
fn CurrentPartitionID(&self) -> Result<BSTR>
fn CurrentPartitionName(&self) -> Result<BSTR>
fn GlobalPartitionID(&self) -> Result<BSTR>
fn FlushPartitionCache(&self) -> Result<()>
fn CopyApplications( &self, bstrsourcepartitionidorname: &BSTR, pvarapplicationid: *const VARIANT, bstrdestinationpartitionidorname: &BSTR, ) -> Result<()>
fn CopyComponents( &self, bstrsourceapplicationidorname: &BSTR, pvarclsidorprogid: *const VARIANT, bstrdestinationapplicationidorname: &BSTR, ) -> Result<()>
fn MoveComponents( &self, bstrsourceapplicationidorname: &BSTR, pvarclsidorprogid: *const VARIANT, bstrdestinationapplicationidorname: &BSTR, ) -> Result<()>
fn AliasComponent( &self, bstrsrcapplicationidorname: &BSTR, bstrclsidorprogid: &BSTR, bstrdestapplicationidorname: &BSTR, bstrnewprogid: &BSTR, bstrnewclsid: &BSTR, ) -> Result<()>
fn IsSafeToDelete(&self, bstrdllname: &BSTR) -> Result<COMAdminInUse>
fn ImportUnconfiguredComponents( &self, bstrapplicationidorname: &BSTR, pvarclsidorprogid: *const VARIANT, pvarcomponenttype: *const VARIANT, ) -> Result<()>
fn PromoteUnconfiguredComponents( &self, bstrapplicationidorname: &BSTR, pvarclsidorprogid: *const VARIANT, pvarcomponenttype: *const VARIANT, ) -> Result<()>
fn ImportComponents( &self, bstrapplicationidorname: &BSTR, pvarclsidorprogid: *const VARIANT, pvarcomponenttype: *const VARIANT, ) -> Result<()>
fn Is64BitCatalogServer(&self) -> Result<VARIANT_BOOL>
fn ExportPartition( &self, bstrpartitionidorname: &BSTR, bstrpartitionfilename: &BSTR, loptions: COMAdminApplicationExportOptions, ) -> Result<()>
fn InstallPartition( &self, bstrfilename: &BSTR, bstrdestdirectory: &BSTR, loptions: COMAdminApplicationInstallOptions, bstruserid: &BSTR, bstrpassword: &BSTR, bstrrsn: &BSTR, ) -> Result<()>
fn QueryApplicationFile2(&self, bstrapplicationfile: &BSTR) -> Result<IDispatch>
fn GetComponentVersionCount(&self, bstrclsidorprogid: &BSTR) -> Result<i32>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.