Jump to content

Recommended Posts

Posted

Hello,

 

I'm developing a plugin to monitor a row amount in a sql server table. If it's above a certain amount I need to have a warning. 

 

To build a good application I want to configure the connectionstring and certain other values through a configuration screen. I'm able to popup the screen add a text box and close it. What I'm looking for is a small example on how to use the SetRegistryValue and the GetValueForKey in the form.

 

Can anybody help me?

  • Administrators
Posted

Hi there,

 

Check out the source of the Vembu StoreGrid plugin here: http://forum.pulseway.com/topic/301-vembu-storegrid-plugin-12/ and look for the Configuration.cs file in the source for an example on how to use it.

 

Btw, you can already monitor row amount of any SQL Server query (or the result itself too) with Pulseway's SQL Server module. Configure them from Pulseway Manager -> Notifications -> Server Modules -> SQL Server -> Queries.

 

Good luck on your plugin,

Paul

Posted

Thanks, got it to work by checking the example.

 

I can't fit my requirement in this feature as it will query one remote database and a variable amount of local databases. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...