pub trait ITsSbGlobalStore_Impl: Sized {
    // Required methods
    fn QueryTarget(
        &self,
        providername: &BSTR,
        targetname: &BSTR,
        farmname: &BSTR,
    ) -> Result<ITsSbTarget>;
    fn QuerySessionBySessionId(
        &self,
        providername: &BSTR,
        dwsessionid: u32,
        targetname: &BSTR,
    ) -> Result<ITsSbSession>;
    fn EnumerateFarms(
        &self,
        providername: &BSTR,
        pdwcount: *mut u32,
        pval: *mut *mut SAFEARRAY,
    ) -> Result<()>;
    fn EnumerateTargets(
        &self,
        providername: &BSTR,
        farmname: &BSTR,
        envname: &BSTR,
        pdwcount: *mut u32,
        pval: *mut *mut Option<ITsSbTarget>,
    ) -> Result<()>;
    fn EnumerateEnvironmentsByProvider(
        &self,
        providername: &BSTR,
        pdwcount: *mut u32,
        ppval: *mut *mut Option<ITsSbEnvironment>,
    ) -> Result<()>;
    fn EnumerateSessions(
        &self,
        providername: &BSTR,
        targetname: &BSTR,
        username: &BSTR,
        userdomain: &BSTR,
        poolname: &BSTR,
        initialprogram: &BSTR,
        psessionstate: *const TSSESSION_STATE,
        pdwcount: *mut u32,
        ppval: *mut *mut Option<ITsSbSession>,
    ) -> Result<()>;
    fn GetFarmProperty(
        &self,
        farmname: &BSTR,
        propertyname: &BSTR,
        pvarvalue: *const VARIANT,
    ) -> Result<()>;
}

Required Methods§

fn QueryTarget( &self, providername: &BSTR, targetname: &BSTR, farmname: &BSTR, ) -> Result<ITsSbTarget>

fn QuerySessionBySessionId( &self, providername: &BSTR, dwsessionid: u32, targetname: &BSTR, ) -> Result<ITsSbSession>

fn EnumerateFarms( &self, providername: &BSTR, pdwcount: *mut u32, pval: *mut *mut SAFEARRAY, ) -> Result<()>

fn EnumerateTargets( &self, providername: &BSTR, farmname: &BSTR, envname: &BSTR, pdwcount: *mut u32, pval: *mut *mut Option<ITsSbTarget>, ) -> Result<()>

fn EnumerateEnvironmentsByProvider( &self, providername: &BSTR, pdwcount: *mut u32, ppval: *mut *mut Option<ITsSbEnvironment>, ) -> Result<()>

fn EnumerateSessions( &self, providername: &BSTR, targetname: &BSTR, username: &BSTR, userdomain: &BSTR, poolname: &BSTR, initialprogram: &BSTR, psessionstate: *const TSSESSION_STATE, pdwcount: *mut u32, ppval: *mut *mut Option<ITsSbSession>, ) -> Result<()>

fn GetFarmProperty( &self, farmname: &BSTR, propertyname: &BSTR, pvarvalue: *const VARIANT, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§