//-------------------------------------------------------------------------- // Begin SQL 2005 Installed Components Data Class //-------------------------------------------------------------------------- //The following line is not needed for Configuration Manager hardware inventory modifcations #pragma namespace ("\\\\.\\root\\cimv2") [dynamic, provider("RegProv"), ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\90\\Uninstall Info")] Class InstalledSQLComponents { [Key] String Component; [PropertyContext("Product")] String Product; }; //--------------------------------------------------------------------------------- // Begin SQL 2005 Installed Components Reporting Class //--------------------------------------------------------------------------------- //The following line is not needed for Configuration Manager hardware inventory modifcations #pragma namespace ("\\\\.\\root\\cimv2\\sms") [SMS_Report(TRUE), SMS_Group_Name("SQL Server Installed Components"), SMS_Class_ID("MICROSOFT|Installed_SQL_Components|1.0") ] Class InstalledSQLComponents { [SMS_Report(TRUE),Key] string Component; [SMS_Report(TRUE)] String Product; }; //---------------------------------------------------------------- // Begin SQL 2005 Instances Reporting Class //---------------------------------------------------------------- [SMS_Report (TRUE), SMS_Group_Name ("SQL Server Installed Instances"), Namespace ("root\\\\Microsoft\\\\SqlServer\\\\ComputerManagement"), SMS_Class_ID ("MICROSOFT|SQL_Instances|1.0") ] Class ServerSettings : SMS_Class_Template { [SMS_Report (TRUE),Key] string InstanceName; };