Unix Technical Forum

Stop/Start MSDE Process

This is a discussion on Stop/Start MSDE Process within the SQL Server forums, part of the Microsoft SQL Server category; --> how i can do it? Under Xp/2000, i write a application that stop/start this serices, but under Win98, how ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 05:06 AM
tombat
 
Posts: n/a
Default Stop/Start MSDE Process

how i can do it?
Under Xp/2000, i write a application that stop/start this serices, but
under Win98, how i do it?
Exists a method via SqlServer or a dos command to stop/start the MSDE
program?

Thanks a lot

Tomas

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 05:06 AM
Andrea Montanari
 
Posts: n/a
Default Re: Stop/Start MSDE Process

hi Thomas,
"tombat" <tomas@tombat.it> ha scritto nel messaggio
news:ch49mi$dkc$1@newsreader.mailgate.org...
> how i can do it?
> Under Xp/2000, i write a application that stop/start this serices, but
> under Win98, how i do it?
> Exists a method via SqlServer or a dos command to stop/start the MSDE
> program?


you can have a look at the SQL-DMO object model, which expose the
objSqlServer.Start and objSqlServer.Stop method..
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 05:07 AM
tombat
 
Posts: n/a
Default Re: Stop/Start MSDE Process

> you can have a look at the SQL-DMO object model, which expose the
> objSqlServer.Start and objSqlServer.Stop method..


Dal nome sembri italiano... intanto grazie per la risposta che non ho
perņ capito molto bene, quei due metodi dove posso utilizzarli?

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 05:07 AM
Andrea Montanari
 
Posts: n/a
Default Re: Stop/Start MSDE Process

salve,
"tombat" <tomas@tombat.it> ha scritto nel messaggio
news:ch6r7e$l34$1@newsreader.mailgate.org...
> > you can have a look at the SQL-DMO object model, which expose the
> > objSqlServer.Start and objSqlServer.Stop method..

>
> Dal nome sembri italiano... intanto grazie per la risposta che non ho
> perņ capito molto bene, quei due metodi dove posso utilizzarli?


nella tua applicazione, devi referenziare l'oggetto SQL-DMO, contenuto nella
dll sqldmo.dll nella cartella \80\Tools\Binn dell'installazione di SQL
Server
dopo di che ne usi semplicemente il modello ad oggetti che, come indicato,
espone quei metodi...
puoi cosi' integrarli nella tua applicazione ed eventualmente effettuare lo
start al momento della prima connessione, ovvero creare un mini progetto da
eseguire allo startup della macchina ed effettuare il tentativo di start del
servizio...
saluti
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com