ServerManagementUnit Class

ServerManagementUnit Class

IIS 7.0
 

Encapsulates contextual information about the server being managed.

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

System.Object
  Microsoft.Web.Management.Server.ManagementUnit
    Microsoft.Web.Management.Server.ServerManagementUnit

public sealed class ServerManagementUnit : ManagementUnit

NameDescription
System_CAPS_pubpropertyAdministration

Gets the current management administration configuration.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyConfiguration

Gets configuration information for the current management unit.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyConfigurationMap

Gets the configuration map for the management unit.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyConfigurationPath

Gets the configuration path information for the current management unit.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyContext

Gets management context information for the current management unit.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyFrameworkVersion

Gets the .NET Framework version for the current management unit.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyFrameworkVersions

Gets the installed .NET Framework versions for the current management unit context.

System_CAPS_pubpropertyIsUserServerAdministrator

Gets a value indicating whether the calling user is a server administrator.(Inherited from ManagementUnit.)

System_CAPS_pubpropertyMachineName

Gets the computer name of the server.

System_CAPS_pubpropertyScope

Gets the scope of the server management unit.(Overrides ManagementUnit.Scope.)

System_CAPS_pubpropertyServerManager

Gets the server manager for the management unit.(Inherited from ManagementUnit.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetApplication(String, String)

Returns an application management unit for the specified site name and application path.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetModuleProviders(Type)

Returns a collection of module providers of the specified type.(Inherited from ManagementUnit.)

System_CAPS_pubmethodGetModuleService(String)

Retrieves the ModuleService object that corresponds to the specified module name.(Inherited from ManagementUnit.)

System_CAPS_pubmethodGetSite(String)

Returns a site management unit for the specified site name.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetTypeInformation(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.(Inherited from ManagementUnit.)

System_CAPS_pubmethodGetTypeInformation(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.(Inherited from ManagementUnit.)

System_CAPS_pubmethodGetTypeInformation(String, Boolean, Type)

Returns public type information for the specified base type name and generator type, and optionally includes non-public types.(Overrides ManagementUnit.GetTypeInformation(String, Boolean, Type).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate()

Commits changes on the ManagementUnit.(Inherited from ManagementUnit.)

The ServerManagementUnit class accesses configuration information at the root level (the ApplicationHost.config or root Web.config file). For more information, see the SiteManagementUnit and ApplicationManagementUnit classes. You cannot create a ServerManagementUnit object directly; you can get one only from the ModuleProvider.ManagementUnit property.

The following example sends ServerManagementUnit information to the trace listener.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft