Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

260 lines
90 KiB

  1. ��#pragma autorecover
  2. #pragma classflags(64)
  3. #pragma namespace("\\\\.\\ROOT\\MicrosoftIISv2")
  4. instance of __namespace{ name="ms_409";};
  5. #pragma namespace("\\\\.\\ROOT\\MicrosoftIISv2\\ms_409")
  6. [Description("The CIM_ManagedSystemElement class is the base class for the system element hierarchy. Membership criteria: Any distinguishable component of a system is a candidate for inclusion in this class.\nExamples: software components, such as files; and devices, such as disk drives and controllers, and physical components such as chips and cards.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  7. class CIM_ManagedSystemElement
  8. {
  9. [Description("The Caption property is a short textual description (one-line string) of the object.") : Amended ToSubclass] string Caption;
  10. [Description("The Description property provides a textual description of the object.") : Amended ToSubclass] string Description;
  11. [Description("The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.") : Amended ToSubclass] datetime InstallDate;
  12. [Description("The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.") : Amended ToSubclass] string Name;
  13. [Description("The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are \"OK\", \"Degraded\" and \"Pred Fail\". \"Pred Fail\" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are \"Error\", \"Starting\", \"Stopping\" and \"Service\". The latter, \"Service\", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither \"OK\" nor in one of the other states.") : Amended ToSubclass,Values{"OK", "Error", "Degraded", "Unknown", "Pred Fail", "Starting", "Stopping", "Service"} : Amended ToSubclass] string Status;
  14. };
  15. [Description("The CIM_LogicalElement class is the base class for all the components of the system that represent abstract system components.\nExample: profiles, processes, or system capabilities in the form of logical devices.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  16. class CIM_LogicalElement : CIM_ManagedSystemElement
  17. {
  18. };
  19. [Description("A logical element that aggregates an enumerable set of managed system elements. The aggregation operates as an functional whole. Within any particular subclass of CIM_System, there is a well-defined list of CIM_ManagedSystemElement classes whose instances must be aggregated.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  20. class CIM_System : CIM_LogicalElement
  21. {
  22. [Description("The CreationClassName property indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.") : Amended ToSubclass] string CreationClassName;
  23. [Description("The inherited Name property serves as key of a CIM_System instance in an enterprise environment.") : Amended ToSubclass] string Name;
  24. [Description("The CIM_System object and its derivatives are top level objects of CIM. They provide the scope for numerous components. Having unique system keys is required. A heuristic can be defined in individual system subclasses to attempt to always generate the same system name key. The NameFormat property identifies how the system name was generated, using the subclass' heuristic.") : Amended ToSubclass] string NameFormat;
  25. [Description("A string that provides information on how the primary system owner can be reached (e.g. phone number, email address, ...).") : Amended ToSubclass] string PrimaryOwnerContact;
  26. [Description("The name of the primary system owner.") : Amended ToSubclass] string PrimaryOwnerName;
  27. [Description("A collection of strings that specify the roles this system plays in the IT-environment.") : Amended ToSubclass] string Roles[];
  28. };
  29. [Description("The Setting class represents configuration-related and operational parameters for one or more ManagedSystemElement(s). A ManagedSystemElement may have multiple Setting objects associated with it. The current operational values for an Element's parameters are reflected by properties in the Element itself or by properties in its associations. These properties do not have to be the same values present in the Setting object. For example, a modem may have a Setting baud rate of 56Kb/sec but be operating at 19.2Kb/sec.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  30. class CIM_Setting
  31. {
  32. [Description("The identifier by which the CIM_Setting object is known.") : Amended ToSubclass] string SettingID;
  33. [Description("A short textual description (one-line string) of the CIM_Setting object.") : Amended ToSubclass] string Caption;
  34. [Description("A textual description of the CIM_Setting object.") : Amended ToSubclass] string Description;
  35. };
  36. [Description("A generic association to establish 'part of' relationships between managed system elements.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  37. class CIM_Component
  38. {
  39. [Description("The parent element in the association") : Amended ToSubclass] CIM_ManagedSystemElement Ref GroupComponent;
  40. [Description("The child element in the association") : Amended ToSubclass] CIM_ManagedSystemElement Ref PartComponent;
  41. };
  42. [Description("A logical element that contains the information necessary to represent and manage the functionality provided by a device and/or software feature. A service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  43. class CIM_Service : CIM_LogicalElement
  44. {
  45. [Description("The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property.") : Amended ToSubclass] string Name;
  46. [Description("CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.") : Amended ToSubclass] string CreationClassName;
  47. [Description("StartMode is a string value indicating whether the service is automatically started by a operating system, or only started upon request.") : Amended ToSubclass,Values{"Automatic", "Manual"} : Amended ToSubclass] string StartMode;
  48. [Description("Started is a boolean indicating whether the service has been started (TRUE), or stopped (FALSE).") : Amended ToSubclass] boolean Started;
  49. [Description("The type name of the system that hosts this service") : Amended ToSubclass] string SystemCreationClassName;
  50. [Description("The name of the system that hosts this service") : Amended ToSubclass] string SystemName;
  51. [Description("The StartService method places the service in the started state. It returns an integer value of 0 if the service was successfully started, 1 if the request is not supported and any other number to indicate an error.") : Amended ToSubclass] uint32 StartService();
  52. [Description("The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported and any other number to indicate an error.") : Amended ToSubclass] uint32 StopService();
  53. };
  54. [Description("The Win32_BaseService class represents executable objects that are installed in a registry database maintained by the Service Control Manager. The executable file associated with a service can be started at boot time by a boot program or by the system. It can also be started on-demand by the Service Control Manager. Any service or process that is not owned by a specific user, and that provides an interface to some functionality supported by the computer system, is a descendent (or member) of this class.\nExample: The dynamic host configuration protocol (DHCP) client service on a Windows NT/Windows 2000 computer system.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  55. class Win32_BaseService : CIM_Service
  56. {
  57. [Description("The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property.") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] string Name;
  58. [Description("The StartMode property indicates the start mode of the Win32 base service. \"Boot\" specifies a device driver started by the operating system loader. This value is valid only for driver services. \"System\" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. \"Automatic\" specifies a service to be started automatically by the service control manager during system startup. \"Manual\" specifies a service to be started by the service control manager when a process calls the StartService function. \"Disabled\" specifies a service that can no longer be started.") : Amended ToSubclass,Values{"Boot", "System", "Auto", "Manual", "Disabled"} : Amended ToSubclass] string StartMode;
  59. [Description("The AcceptPause property indicates whether the service can be paused.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be paused.") : Amended ToSubclass] boolean AcceptPause;
  60. [Description("The AcceptStop property indicates whether the service can be stopped.\nValues: TRUE or FALSE. A value of TRUE indicates the service can be stopped.") : Amended ToSubclass] boolean AcceptStop;
  61. [Description("The DesktopInteract property indicates whether the service can create or communicate with windows on the desktop.\nValues: TRUE or FALSE. A value of TRUE indicates the service can create or communicate with windows on the desktop.") : Amended ToSubclass] boolean DesktopInteract;
  62. [Description("The DisplayName property indicates the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the Service Control Manager. DisplayName comparisons are always case-insensitive. \nConstraints: Accepts the same value as the Name property.\nExample: Atdisk.") : Amended ToSubclass] string DisplayName;
  63. [Description("If this service fails to start during startup, the ErrorControl property specifies the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the computer system. The computer system does not notify the user of \"Ignore\" errors. With \"Normal\" errorsthe user is notified. With \"Severe\" errors, the system is restarted with the last-known-good configuration. Finally, on\"Critical\" errors the system attempts to restart with a good configuration.") : Amended ToSubclass,Values{"Ignore", "Normal", "Severe", "Critical", "Unknown"} : Amended ToSubclass] string ErrorControl;
  64. [Description("The PathName property contains the fully qualified path to the service binary file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName;
  65. [Description("The ServiceType property supplies the type of service provided to calling processes.") : Amended ToSubclass,Values{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process", "Interactive Process"} : Amended ToSubclass] string ServiceType;
  66. [Description("The StartName property indicates the account name under which the service runs. Depending on the service type, the account name may be in the form of \"DomainName\\Username\".The service process will be logged using one of these two forms when it runs. If the account belongs to the built-in domain, \".\\Username\" can be specified. If NULL is specified, the service will be logged on as the LocalSystem account. For kernel or system level drivers, StartName contains the driver object name (that is, \\FileSystem\\Rdr or \\Driver\\Xns) which the input and output (I/O) system uses to load the device driver. Additionally, if NULL is specified, the driver runs with a default object name created by the I/O system based on the service name.\nExample: DWDOM\\Admin.") : Amended ToSubclass] string StartName;
  67. [Description("The State property indicates the current state of the base service.") : Amended ToSubclass,Values{"Stopped", "Start Pending", "Stop Pending", "Running", "Continue Pending", "Pause Pending", "Paused", "Unknown"} : Amended ToSubclass] string State;
  68. [Description("The TagId property specifies a unique tag value for this service in the group. A value of 0 indicates that the service has not been assigned a tag. A tag can be used for ordering service startup within a load order group by specifying a tag order vector in the registry located at: HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\GroupOrderList. Tags are only evaluated for Kernel Driver and File System Driver start type services that have \"Boot\" or \"System\" start modes.") : Amended ToSubclass] uint32 TagId;
  69. [Description("The ExitCode property specifies a Win32 error code defining any problems encountered in starting or stopping the service. This property is set to ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented by this class, and information about the error is available in the ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and again upon normal termination.") : Amended ToSubclass] uint32 ExitCode;
  70. [Description("The ServiceSpecificExitCode property specifies a service-specific error code for errors that occur while the service is either starting or stopping. The exit codes are defined by the service represented by this class. This value is only set when the ExitCodeproperty value is ERROR_SERVICE_SPECIFIC_ERROR, 1066.") : Amended ToSubclass] uint32 ServiceSpecificExitCode;
  71. [Description("The StartService method attempts to place the service into its startup state. It returns one of the following integer values:\n0 - The request was accepted.\n1 - The request is not supported.\n2 - The user did not have the necessary access.\n3 - The service cannot be stopped because other services that are running are dependent on it.\n4 - The requested control code is not valid, or it is unacceptable to the service.\n5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.\n6 - The service has not been started.\n7 - The service did not respond to the start request in a timely fashion.\n8 - Unknown failure when starting the service.\n9 - The directory path to the service executable was not found.\n10 - The service is already running.\n11 - The database to add a new service is locked.\n12 - A dependency for which this service relies on has been removed from the system.\n13 - The service failed to find the service needed from a dependent service.\n14 - The service has been disabled from the system.\n15 - The service does not have the correct authentication to run on the system.\n16 - This service is being removed from the system.\n17 - There is no execution thread for the service.\n18 - There are circular dependencies when starting the service.\n19 - There is a service running under the same name.\n20 - There are invalid characters in the name of the service.\n21 - Invalid parameters have been passed to the service.\n22 - The account which this service is to run under is either invalid or lacks the permissions to run the service.\n23 - The service exists in the database of services available from the system.\n24 - The service is currently paused in the system.\n") : Amended ToSubclass,Values{"Success", "Not Supported", "Access Denied", "Dependent Services Running", "Invalid Service Control", "Service Cannot Accept Control", "Service Not Active", "Service Request Timeout", "Unknown Failure", "Path Not Found", "Ser
  72. [Description("The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 StopService();
  73. [Description("The PauseService method attempts to place the service in the paused state. It returns an integer value of 0 if the PauseService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 PauseService();
  74. [Description("The ResumeService method attempts to place the service in the resumed state. It returns an integer value of 0 if the ResumeService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 ResumeService();
  75. [Description("The InterrogateService method requests that the service update its state to the service manager. It returns an integer value of 0 if the InterrogateService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 InterrogateService();
  76. [Description("The UserControlService method attempts to send a user-defined control code to a service. It returns an integer value of 0 if the UserControlService request was accepted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 UserControlService([In,Description("The ControlCode parameter specifies defined values(from 128 to 255) that provide control commands specific to a user.") : Amended ToSubclass] uint8 ControlCode);
  77. [Description("The Create method creates a new service. It returns an integer value of 0 if the service was successfully created, 1 if the request is not supported, and any other number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of system services defining execution dependencies. The services must be initiated in the order specified by the Load Order Group, as the services are dependent on each other. These dependent services require the presence of the antecedent services in order to function correctly.") : Amended ToSubclass] uint32 Create([In,Description("The Name parameter passes the name of the service to install to the Create method. The maximum string length is 256 characters. The service control manager database preserves the case of the characters, but service name comparisons are always case insensitive. Forward-slashes (/) and double back-slashes (\\) are invalid service name characters.") : Amended ToSubclass] string Name,[In,Description("The DisplayName parameter passes the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the service control manager. DisplayName comparisons are always case-insensitive. \nConstraints: Accepts the same value as the Name parameter.\nExample: Atdisk.") : Amended ToSubclass] string DisplayName,[In,Description("The PathName parameter passes the fully qualified path to the executable file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName,[In,Description("The ServiceType parameter passes the type of services provided to processes that call them.") : Amended ToSubclass,BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process"} : Amended ToSubclass] uint8 ServiceType,[In,Description("If the Create method fails to start, the ErrorControl parameter passes the severity of the error. The value indicates the action taken by the startup program if failure occurs.
  78. [Description("The Change method modifies a service. It returns an integer value of 0 if the service was successfully modified, 1 if the request is not supported and any other number to indicate an error. The Win32_LoadOrderGroup parameter represents a grouping of system services defining execution dependencies. The services must be initiated in the order specified by the Load Order Group as the services are dependent on each other. These dependent services require the presence of the antecedent services in order to function correctly.") : Amended ToSubclass] uint32 Change([In,Description("The DisplayName parameter passes the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the service control manager. DisplayName comparisons are always case-insensitive. \nConstraints: Accepts the same value as the Name parameter.\nExample: Atdisk") : Amended ToSubclass] string DisplayName,[In,Description("The PathName parameter passes the fully qualified path of the service binary file that implements the service.\nExample: \\SystemRoot\\System32\\drivers\\afd.sys") : Amended ToSubclass] string PathName,[In,Description("The ServiceType parameter passes the type of service provided to processes calling the service.") : Amended ToSubclass,BitValues{"Kernel Driver", "File System Driver", "Adapter", "Recognizer Driver", "Own Process", "Share Process"} : Amended ToSubclass] uint8 ServiceType,[In,Description("If this service fails to start during startup, the ErrorControl parameter passes the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the system. The system does not notify the user of \"Ignore\" errors. With \"Normal\" errors the user is notified. With \"Severe\" errors, the system is restarted with the last-known-good configuration. Finally, on \"Critical\" errors, the system attempts to restart with a good configuration.") : Amended ToSubclass,Values{"Ignore", "Normal", "Severe", "Crit
  79. [Description("The ChangeStartMode method modifies the StartMode of a service. It returns an integer value of 0 if the service was successfully modified, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 ChangeStartMode([In,Description("The StartMode parameter passes the start mode of the Win32 base service. \"Boot\" specifies a device driver started by the operating system loader. This value is valid only for driver services. \"System\" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. \"Automatic\" specifies a service to be started automatically by the service control manager during system startup. \"Manual\" specifies a service to be started by the service control manager when a process calls the StartService function. \"Disabled\" specifies a service that can no longer be started.") : Amended ToSubclass,Values{"Boot Start", "System Start", "Auto Start", "Demand Start", "Disabled"} : Amended ToSubclass] string StartMode);
  80. [Description("The Delete method deletes an existing service. It returns an integer value of 0 if the service was successfully deleted, 1 if the request is not supported, and any other number to indicate an error.") : Amended ToSubclass] uint32 Delete();
  81. };
  82. [Description("The Win32_Service class represents a service on a Win32 computer system. A service application conforms to the interface rules of the Service Control Manager (SCM) and can be started by a user automatically at system boot through the Services control panel utility, or by an application that uses the service functions included in the Win32 API. Services can execute even when no user is logged on to the system.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  83. class Win32_Service : Win32_BaseService
  84. {
  85. [Description("The CheckPoint property specifies a value that the service increments periodically to report its progress during a lengthy start, stop, pause, or continue operation. For example, the service should increment this value as it completes each step of its initialization when it is starting up. The user interface program that invoked the operation on the service uses this value to track the progress of the service during a lengthy operation. This value is not valid and should be zero when the service does not have a start, stop, pause, or continue operation pending.") : Amended ToSubclass] uint32 CheckPoint;
  86. [Description("The WaitHint property specifies the estimated time required (in milliseconds) for a pending start, stop, pause, or continue operation. After the specified amount of time has elapsed, the service makes its next call to the SetServiceStatus function with either an incremented CheckPoint value or a change in CurrentState. If the amount of time specified by WaitHint passes, and CheckPoint has not been incremented, or the CurrentState has not changed, the service control manager or service control program assumes that an error has occurred.") : Amended ToSubclass] uint32 WaitHint;
  87. [Description("The ProcessId property specifies the process identifier of the service.\nExample: 324") : Amended ToSubclass] uint32 ProcessId;
  88. };
  89. [Description(" The CIM_ApplicationSystem class is used to represent an application or a software system that supports a particular business function and that can be managed as an independent units. Such a system can be decomposed into its functional components using the CIM_SoftwareFeature class. The software features for a particular application or software system are located using the CIM_ApplicationSystemSoftwareFeature association. ") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  90. class CIM_ApplicationSystem : CIM_System
  91. {
  92. };
  93. [Description("ElementSetting represents the association between ManagedSystemElements and the Setting class(es) defined for them.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  94. class CIM_ElementSetting
  95. {
  96. [Description("The Element reference represents the role of the CIM_ManagedSystemElement object of the CIM_ElementSetting association. Role: The associated managed system element provides the element that implements the element setting.") : Amended ToSubclass] CIM_ManagedSystemElement Ref Element;
  97. [Description("The CIM_Setting reference represents the role of the CIM_Setting object of the CIM_ElementSetting association. Role: The associated setting provides the setting that implements the element setting.") : Amended ToSubclass] CIM_Setting Ref Setting;
  98. };
  99. [AMENDMENT, LOCALE(0x409)]
  100. class IIsSetting : CIM_Setting
  101. {
  102. };
  103. [AMENDMENT, LOCALE(0x409)]
  104. class IIsDirectory : CIM_LogicalElement
  105. {
  106. };
  107. [Description("Manages metabase key values that apply to a file in a Web directory for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  108. class IIsWebFileSetting : IIsSetting
  109. {
  110. };
  111. [Description("Manages metabase properties that apply to one or all FTP virtual directories for an FTP server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  112. class IIsFtpVirtualDir : IIsDirectory
  113. {
  114. };
  115. [Description("Manages metabase properties that apply to one or all FTP virtual directories for an FTP server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  116. class IIsFtpVirtualDirSetting : IIsSetting
  117. {
  118. };
  119. [AMENDMENT, LOCALE(0x409)]
  120. class IIsApplicationPool : CIM_LogicalElement
  121. {
  122. [Description("Determine which applications are currently routed to the given application pool") : Amended ToSubclass] void EnumAppsInPool([OUT] string Applications[]);
  123. [Description("Recycle an already enabled application pool on demand") : Amended ToSubclass] void RecycleAppPool();
  124. [Description("Starts an application pool") : Amended ToSubclass] void Start();
  125. [Description("Stops an application pool") : Amended ToSubclass] void Stop();
  126. };
  127. [Description("Manages inheritable metabase properties for Web sites and Web virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  128. class IIsWebServiceSetting : IIsSetting
  129. {
  130. };
  131. [Description("Manages inheritable metabase properties for Web sites and Web virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  132. class IIsWebService : Win32_Service
  133. {
  134. [Description("Creates a new site.") : Amended ToSubclass] string CreateNewSite([IN] string ServerComment,[IN] ServerBinding ServerBindings[],[IN] string PathOfRootVirtualDir,[IN] sint32 ServerId);
  135. [Description("Returns what mode -- Full Isolation (= 1) or Shared Isolation (= 0) -- the W3SVC is running in.") : Amended ToSubclass] void GetCurrentMode([OUT] sint32 ServerMode);
  136. };
  137. [Description("Manages the metabase properties that control FTP sites and FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  138. class IIsFtpServiceSetting : IIsSetting
  139. {
  140. };
  141. [Description("Manages metabase properties that apply to one or all virtual directories for a Web site.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  142. class IIsWebVirtualDirSetting : IIsSetting
  143. {
  144. };
  145. [Description("Manages metabase properties that apply to one or all virtual directories for a Web site.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  146. class IIsWebVirtualDir : IIsDirectory
  147. {
  148. [Description("Creates an application at the specified metabase key(parameter is a Boolean).") : Amended ToSubclass] void AppCreate([IN] boolean InProcFlag,[IN] string AppPoolName,[IN] boolean bCreate);
  149. [Description("Creates an application at the specified metabase key(parameter is a Long).") : Amended ToSubclass] void AppCreate2([IN] sint32 AppMode,[IN] string AppPoolName,[IN] boolean bCreate);
  150. [Description("Deletes an application definition at the specified key (and its subkeys).") : Amended ToSubclass] void AppDelete([IN] boolean Recursive);
  151. [Description("Unloads an application at the specified key (and its subkeys).") : Amended ToSubclass] void AppUnLoad([IN] boolean Recursive);
  152. [Description("Restarts the ASP application that invoked it.") : Amended ToSubclass] void AspAppRestart();
  153. };
  154. [Description("Is used to set metabase properties that apply to one or more Web directories for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  155. class IIsWebDirectory : IIsDirectory
  156. {
  157. [Description("Creates an application at the specified metabase key(parameter is a Boolean).") : Amended ToSubclass] void AppCreate([IN] boolean InProcFlag,[IN] string AppPoolName,[IN] boolean bCreate);
  158. [Description("Creates an application at the specified metabase key(parameter is a Long).") : Amended ToSubclass] void AppCreate2([IN] sint32 AppMode,[IN] string AppPoolName,[IN] boolean bCreate);
  159. [Description("Deletes an application definition at the specified key (and its subkeys).") : Amended ToSubclass] void AppDelete([IN] boolean Recursive);
  160. [Description("Unloads an application at the specified key (and its subkeys).") : Amended ToSubclass] void AppUnLoad([IN] boolean Recursive);
  161. [Description("Restarts the ASP application that invoked it.") : Amended ToSubclass] void AspAppRestart();
  162. };
  163. [Description("Is used to set metabase properties that apply to one or more Web directories for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  164. class IIsWebDirectorySetting : IIsSetting
  165. {
  166. };
  167. [Description("Manages global metabase properties that determine how IIS operates") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  168. class IIsComputer : CIM_ApplicationSystem
  169. {
  170. [Description("Explicitly saves the metabase data to disk.") : Amended ToSubclass] void SaveData();
  171. [Description("Saves the metabase to long-term storage.") : Amended ToSubclass] void BackupWithPassword([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags,[IN] string Password);
  172. [Description("Deletes a metabase backup from long-term storage.") : Amended ToSubclass] void DeleteBackup([IN] string BackupLocation,[IN] sint32 BackupVersion);
  173. [Description("Enumerates metabase backups in long-term storage.") : Amended ToSubclass] void EnumBackups([IN,OUT] string BackupLocation,[IN] sint32 IndexIn,[OUT] sint32 BackupVersionOut,[OUT] datetime BackupDateTimeOut);
  174. [Description("Restores a metabase backup from long-term storage.") : Amended ToSubclass] void RestoreWithPassword([IN] string BackupLocation,[IN] sint32 BackupVersion,[IN] sint32 BackupFlags,[IN] string Password);
  175. };
  176. [Description("Manages metabase properties that apply to a specific FTP server and to set inheritable metabase properties for FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  177. class IIsFtpServerSetting : IIsSetting
  178. {
  179. };
  180. [Description("Manages metabase properties that apply to a specific FTP server and to set inheritable metabase properties for FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  181. class IIsFtpServer : CIM_LogicalElement
  182. {
  183. [Description("Starts the server.") : Amended ToSubclass] void Start();
  184. [Description("Stops the server.") : Amended ToSubclass] void Stop();
  185. [Description("Continues the server.") : Amended ToSubclass] void Continue();
  186. [Description("Pauses the server.") : Amended ToSubclass] void Pause();
  187. };
  188. [Description("Manages metabase properties that apply to a specific Web virtual server, and to set inheritable metabase properties for virtual directories, Web directories, and Web files.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  189. class IIsWebServer : CIM_LogicalElement
  190. {
  191. [Description("Starts the server.") : Amended ToSubclass] void Start();
  192. [Description("Stops the server.") : Amended ToSubclass] void Stop();
  193. [Description("Continues the server.") : Amended ToSubclass] void Continue();
  194. [Description("Pauses the server.") : Amended ToSubclass] void Pause();
  195. };
  196. [Description("Manages the metabase properties that control FTP sites and FTP virtual directories.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  197. class IIsFtpService : Win32_Service
  198. {
  199. [Description("Creates a new site.") : Amended ToSubclass] string CreateNewSite([IN] string ServerComment,[IN] ServerBinding ServerBindings[],[IN] string PathOfRootVirtualDir,[IN] sint32 ServerId);
  200. };
  201. [Description("Manages metabase properties that apply to a specific Web virtual server, and to set inheritable metabase properties for virtual directories, Web directories, and Web files.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  202. class IIsWebServerSetting : IIsSetting
  203. {
  204. };
  205. [Description("Manages global metabase properties that determine how IIS operates") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  206. class IIsComputerSetting : IIsSetting
  207. {
  208. };
  209. [Description("Maps client certificates to Windows user accounts.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  210. class IIsCertMapper : CIM_LogicalElement
  211. {
  212. [Description("Maps a certificate to a Windows account.") : Amended ToSubclass] void CreateMapping([IN] string vCert,[IN] string NtAcct,[IN] string NtPwd,[IN] string strName,[IN] boolean IEnabled);
  213. [Description("Deletes an existing certificate mapping.") : Amended ToSubclass] void DeleteMapping([IN] sint32 IMethod,[IN] string vKey);
  214. [Description("Retrieves a certificate and the mapping data from an existing certificate mapping.") : Amended ToSubclass] void GetMapping([IN] sint32 IMethod,[IN] string vKey,[OUT] string vCert,[OUT] string NtAcct,[OUT] string NtPwd,[OUT] string strName,[OUT] boolean IEnabled);
  215. [Description("Sets a new value for the Windows account string in an existing certificate mapping.") : Amended ToSubclass] void SetAcct([IN] sint32 IMethod,[IN] string vKey,[IN] string NtAcct);
  216. [Description("Enables or disables an existing certificate mapping.") : Amended ToSubclass] void SetEnabled([IN] sint32 IMethod,[IN] string vKey,[IN] boolean IEnabled);
  217. [Description("Sets a new value for the name string in an existing certificate mapping.") : Amended ToSubclass] void SetName([IN] sint32 IMethod,[IN] string vKey,[IN] string strName);
  218. [Description("Sets a new value for the Windows password string in an existing certificate mapping.") : Amended ToSubclass] void SetPwd([IN] sint32 IMethod,[IN] string vKey,[IN] string NtPwd);
  219. };
  220. [Description("Manages metabase key values that apply to a file in a Web directory for a Web server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  221. class IIsWebFile : IIsDirectory
  222. {
  223. };
  224. [Description("Maps client certificates to Windows user accounts.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  225. class IIsCertMapperSetting : IIsSetting
  226. {
  227. };