Event Notifications - an interesting example - Handle backup/restore audit events

Posted by: SQL Server 2005 Distilled, on 04 Dec 2005 | View original | Bookmarked: 0 time(s)

You may know that Service Broker gets disabled when a database is restored or when a database is attached. What if you need to enable it whenever a database is restored This is just one example, but what if you want to perform some similar post-restore actions Here is one of the solutions to this problem. It makes use of the new Event Notifications feature introduced in SQL Server 2005. The server event AUDIT_BACKUP_RESTORE_EVENT is fired whenever a database backup operation is performed or when...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Events | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1461 | Hits: 79

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD