ManagementUnit Class
Encapsulates contextual information about the management unit currently being managed during the execution of a Web service method on a module service.
Assembly: Microsoft.Web.Management (in Microsoft.Web.Management.dll)
Microsoft.Web.Management.Server.ManagementUnit
Microsoft.Web.Management.Server.ApplicationManagementUnit
Microsoft.Web.Management.Server.ServerManagementUnit
| Name | Description | |
|---|---|---|
![]() | Administration | Gets the current management administration configuration. |
![]() ![]() | AppHostProvider | |
![]() | Configuration | Gets configuration information for the current management unit. |
![]() | ConfigurationMap | Gets the configuration map for the management unit. |
![]() | ConfigurationPath | Gets the configuration path information for the current management unit. |
![]() | Context | Gets management context information for the current management unit. |
![]() ![]() | CustomAppHostConfigPath | |
![]() ![]() | DynamicRegistrationEnabled | |
![]() | FrameworkVersion | Gets the .NET Framework version for the current management unit. |
![]() | IsUserServerAdministrator | Gets a value indicating whether the calling user is a server administrator. |
![]() ![]() | ReadOnlyAppPools | |
![]() ![]() | ReadOnlyServerManager | Gets the server manager for the management unit. |
![]() ![]() | ReadOnlySites | |
![]() | Scope | When overridden in a derived class, gets the management scope associated with the current management unit. |
![]() | ServerManager | Gets the server manager for the management unit. |
| Name | Description | |
|---|---|---|
![]() | CreateConfigurationMap(Boolean) | When overridden in a derived class, creates a file map that contains global configuration information that is applicable to this management unit. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetAssociatedFrameworkVersion() | When overridden in a derived class, returns the .NET Framework version for the management unit. |
![]() ![]() | GetFrameworkVersions(IManagementContext) | Returns the set of available.NET Framework versions. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetModuleProviders(Type) | Returns a collection of module providers of the specified type. |
![]() | GetModuleService(String) | Retrieves the ModuleService object that corresponds to the specified module name. |
![]() | GetType() | (Inherited from Object.) |
![]() | GetTypeInformation(String) | When the GetTypeInformation(String, Boolean, Type) method is overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name. |
![]() | GetTypeInformation(String, Boolean) | When the GetTypeInformation(String, Boolean, Type) method is overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name, optionally including types that are not public. |
![]() | GetTypeInformation(String, Boolean, Type) | When overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name, optionally including types that are not public, and using the specified generator to create type information. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Update() | Commits changes on the ManagementUnit. |
This class is also used to retrieve configuration of the management unit.
The ManagementUnit reflects the current location in the Connections pane of IIS Manager.
This contextual information is serialized into the Web management cookie that is created by the login service and passed down by the client on each request.
Notes to Inheritors:
When you inherit from ManagementUnit, you must override the following members: Scope, CreateConfigurationMap, GetAssociatedFrameworkVersion, and GetTypeInformation(String, Boolean, Type).
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



