Re: WMI for Exchange Development

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Glen Scales [MVP] (gscales_at_outlookexchange.com)
Date: 03/02/05


Date: Wed, 2 Mar 2005 11:20:01 +1100

ADSI is a interface for accessing Active Directory, you can use it to access
Exchange information that is stored in Active Directory but you are usually
better of using CDOEXM which wrappers most of the ADSI functionality you
want and provides additional methods for managing Exchange objects.

WMI in a Interface for accessing Exchange management information, this can
include things like SMTP queue length, mailbox sizes and Server Status (eg
mailbox store mount status etc).

Sometimes these interfaces overlap but they are moslty unique in the
functionality they provide.At the end of the day there is no one interface
in Exchange that does everything you want to do so you may find yourself
using ADSI, WMI, CDOEX, CDOEXM,EXOLEDB or WebDAV. Which interface you use
depends on what you are trying to do.

You might want to have a read of the programming technologies page from the
Exchange SDK
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_e2k3_arch_prog_tech.asp

Cheers
Glen

"Pramod" <pramodi@cybage.com> wrote in message
news:OVhnUMmHFHA.2860@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I just want to know that why there are two seperate providers (WMI and
> ADSI)
> for Exchange.
> Also, Why there are WMI Classes for Exchange Development, since we have
> ADSI
> for the same ?
>
> Is there any advantage of using ADSI over WMI classes ???
>
> If anyone know abt this... mail me back...
>
> Thanks,
>
> Pramod.
>
>
>



Relevant Pages

  • Re: WMI for Exchange Development
    ... there are no values if I access it through the WMI ... objects, WMI or ADSI? ... > want and provides additional methods for managing Exchange objects. ... > WMI in a Interface for accessing Exchange management information, ...
    (microsoft.public.exchange.development)
  • Re: WMI for Exchange Development
    ... Sorry Mailbox Store Status was a really bad example for WMI ... the reference section of the Exchange SDK. ... If you want to access LDAP objects then you need to use ADSI or CDOEXM. ...
    (microsoft.public.exchange.development)
  • Re: Permissions take forever to set in ADAM?
    ... That is, BTW, my least favorite ADSI interface as ... it has dependencies on security context to do SID resolution that are ... security descriptor out of AD. ... >> The problem isn't in S.DS, it is in ADSI (the IADsSecurityDescriptor ...
    (microsoft.public.windows.server.active_directory)
  • Re: Export Users
    ... ADSI is "part of AD" -- it's the built in programming interface. ... What you need is some programming tool that you understand ...
    (microsoft.public.win2000.active_directory)
  • Need help with Categorizer sink and IMailTransportCategorize
    ... I'm trying to implement an Exchange server categorizer sink. ... this DLL implements the IMailTransportCategorize interface ... the Microsoft documentation makes reference to the metabase ...
    (microsoft.public.exchange2000.development)