Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Sun, 11 Dec 2005 22:24:02 -0800,    group: microsoft.public.exchange2000.development        back       


how to find Exch. Server Service Pack version info. through prog.?   
Hi All,
   
    I am developing application for Exchange Server 2003.
    I have to get the "Exchange Server Service Pack Version Information" 
with Exchange Server 2003.

   eg: 

Environment:
 OS: Windows 2000 Server
 Exchange Server: 2000
 Exchange Server Service Pack: 3
 Visual Studio: 6.0

How can I get Exchange Server Service Pack version Info through 
programmatically? (ie. 3)

-- 
Dur.
date: Sun, 11 Dec 2005 22:24:02 -0800   author:   Dur

Re: how to find Exch. Server Service Pack version info. through prog.?   
There are a few ways you could do this,

(If you running Exchange 2000 SP2 or Greater) you can use WMI and the 
ExchangeServerState Class have a look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_wmiref_pr_Exchange_ServerExchangeVersion.asp

You can use CDOEXM if you have Exchange System Manager Installed and use the 
IExchangeServer Interface and the ExchangeVersion property
see 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_emo_iexchangeserver_exchangeversion.asp

You can query the versionnumber property in Active Directory which will give 
you the build number you can then use this to work out which service pack 
has been applied. Have a look at 
http://cwashington.netreach.net/depo/view.asp?Index=1034&ScriptType=vbscript 
for a sample

Cheers
Glen



"Dur"  wrote in message 
news:056A55CF-495F-454A-BA9C-6F05BFFEA6C7@microsoft.com...
> Hi All,
>
>    I am developing application for Exchange Server 2003.
>    I have to get the "Exchange Server Service Pack Version Information"
> with Exchange Server 2003.
>
>   eg:
>
> Environment:
> OS: Windows 2000 Server
> Exchange Server: 2000
> Exchange Server Service Pack: 3
> Visual Studio: 6.0
>
> How can I get Exchange Server Service Pack version Info through
> programmatically? (ie. 3)
>
> -- 
> Dur.
date: Tue, 13 Dec 2005 10:17:36 +1100   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us