Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


get status of running agent from the system at runtime


get status of running agent from the system at runtime

Author
Message
sagar-506255
sagar-506255
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 49
hi friends,
i hv implemented the sql 2005 merge replication functionality that is done from management studio in windows application using .net 2.0 and C#.

i m able to setup the replication and run the agents (snapshot and merge agents) sucessfully using the sql system based stored procedures.

now my difficulty is when i run the agents i hv to always check their status through management studio. therefore i m not able to show this status in my application to the user.

i tried for other stored procedures but i don't get the value at runtime.

so if anyone knows a better solution plz let me know asap.
Chris Becker
Chris Becker
SSC Veteran
SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)

Group: General Forum Members
Points: 228 Visits: 268
Good. YOu are a c# programmer - take advantage of RMO

Lookup "Programming with Replication Management Objects" in books online.

Enjoy.

ChrisB MCDBA
MSSQLConsulting.com



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search