Export (0) Print
Expand All

ManagementUnit Class

IIS 7.0

Encapsulates contextual information about the management unit currently being managed during the execution of a Web service method on a module service.

Namespace:  Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public abstract class ManagementUnit

The ManagementUnit type exposes the following members.

  NameDescription
Public propertyAdministrationGets the current management administration configuration.
Public propertyConfigurationGets configuration information for the current management unit.
Public propertyConfigurationMapGets the configuration map for the management unit.
Public propertyConfigurationPathGets the configuration path information for the current management unit.
Public propertyContextGets management context information for the current management unit.
Public propertyFrameworkVersionGets the .NET Framework version for the current management unit.
Public propertyIsUserServerAdministratorGets a value indicating whether the calling user is a server administrator.
Public propertyStatic memberReadOnlyServerManagerGets the server manager for the management unit.
Public propertyScopeWhen overridden in a derived class, gets the management scope associated with the current management unit.
Public propertyServerManagerGets the server manager for the management unit.
Top

  NameDescription
Protected methodCreateConfigurationMapWhen overridden in a derived class, creates a file map that contains global configuration information that is applicable to this management unit.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetAssociatedFrameworkVersionWhen overridden in a derived class, returns the .NET Framework version for the management unit.
Protected methodStatic memberGetFrameworkVersionsReturns the set of available versions.
Public methodGetHashCode (Inherited from Object.)
Public methodGetModuleProvidersReturns a collection of module providers of the specified type.
Public methodGetModuleServiceRetrieves the ModuleService object that corresponds to the specified module name.
Public methodGetType (Inherited from Object.)
Public methodGetTypeInformation(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.
Public methodGetTypeInformation(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.
Public methodGetTypeInformation(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.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUpdateCommits changes on the ManagementUnit.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft