Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7793041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:21:40+00:00 2026-06-01T22:21:40+00:00

I am using Sql server 2005 and using C#/Asp.Net 4.0 for UI. I want

  • 0

I am using Sql server 2005 and using C#/Asp.Net 4.0 for UI.
I want to trigger the sql job from an user action in a webpage. I need to keep checking job’s status while its running. There are several old threads on this issue which gets the status of the jobs (How to monitor SQL Server Agent Job info in C#) but i need my program should be able to Run,Stop,Enable,Disable the jobs

I need the below functionality in my UI.

  1. Check the status of a sql job

  2. Run the specified job

  3. Stop the job

  4. Disable/Enable the job

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:21:41+00:00Added an answer on June 1, 2026 at 10:21 pm

    You can use the following system stored procedures:

    sp_start_job – start an Agent job
    sp_stop_job – stop an Agent job
    sp_update_job – enable/disable an Agent job

    Update:
    If you really want to use SMO instead, best place to check out is this MSDN reference. The Job class allows you to do all this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ASP.NET 2.0 with SQL Server 2005. I want my user to
I need to write a web application using SQL Server 2005, asp.net, and ado.net.
I maintain a legacy ASP.Net Web application (using .Net 2.0 + SQL Server 2005
I'm using sql-server 2005 and ASP.NET with C#. I have Users table with userId(int),
I am using C# ASP.NET on Visual Studio 2005, as well as SQL Server
I have an html website and an asp.net website using database sql server 2005.
I am using ASP.NET with SQL Server 2005. My date get saved in the
I am using ASP.NET 2.0 and SQL Server 2005. I am saving a value/string
I'm using Visual Studio 2008 (Asp.net (c#)) and SQl Server 2005 I have a
I am trying to retrieving image from sql server 2005 into asp.net web page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.