home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comredis.cab / compprov.mof < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.9 KB  |  83 lines

  1. // **************************************************************************
  2. // Copyright (c) 2000 Microsoft Corporation.
  3. //
  4. // File:  compprov.mof
  5. //
  6. // Description: COM+ Unmanaged Provider
  7. //
  8. // History:    
  9. //            created 2/29/2000 Dragomir Todorov
  10. //
  11. // **************************************************************************
  12.  
  13.  
  14. #pragma autorecover
  15.  
  16. #pragma classflags("forceupdate")
  17.  
  18.  
  19. /////////////////////////////////////////////////////////////////////
  20. // Go to "root" and create a new "ComPlus20" namespace
  21.  
  22. #pragma namespace ("\\\\.\\Root")
  23.  
  24. [Locale(0x409)]
  25. instance of __Namespace
  26. {
  27.     Name = "ComPlus20";
  28. };
  29.  
  30. #pragma namespace ("\\\\.\\root\\ComPlus20")
  31.  
  32. /////////////////////////////////////////////////////////////////////
  33. // Register the class provider
  34. instance of __Win32Provider as $TheClassProvider
  35. {
  36.     Name = "COM+ Class Provider";
  37.     ClsId = "{392DB5F9-505F-4af6-A700-0A82AACABA37}";
  38. };
  39.  
  40. instance of __ClassProviderRegistration
  41. {
  42.     Provider = $TheClassProvider;
  43.     SupportsPut = FALSE;
  44.     SupportsGet = TRUE;
  45.     SupportsDelete = FALSE;
  46.     SupportsEnumeration = TRUE;
  47.  
  48.     ResultSetQueries = { "Select * From meta_class Where __this isa \"ComPlusBase\"" } ;
  49. };
  50.  
  51. /////////////////////////////////////////////////////////////////////
  52. // Register the instance provider
  53.  
  54. instance of __Win32Provider as $TheInstProvider
  55. {
  56.     Name = "TheInstProvider";
  57.     ClsId = "{1CC79DC6-8ED7-4553-BF93-759338D1255F}";
  58. };
  59.  
  60. instance of __InstanceProviderRegistration
  61. {
  62.     Provider = $TheInstProvider;
  63.     SupportsPut = TRUE;
  64.     SupportsGet = TRUE;
  65.     SupportsDelete = TRUE;
  66.     SupportsEnumeration = TRUE;
  67.     QuerySupportLevels = {"WQL:UnarySelect"};
  68. };
  69.  
  70.  
  71. [singleton]
  72. class LocalConfigObject
  73. {
  74.   string ProductID = "Urt";    
  75. };
  76.  
  77. ////////////////////////////////////////////////////////////////////
  78. // inheritance
  79.  
  80. //[abstract]
  81. //class ComPlusBase
  82. //{
  83. //};