ModuleProvider.SupportsScope Method (ManagementScope)

IIS 7.0
 

When overridden in a derived class, returns a value indicating whether the module provider supports the specified scope.

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

public abstract bool SupportsScope(
	ManagementScope scope
)

Parameters

scope
Type: Microsoft.Web.Management.Server.ManagementScope

One of the ManagementScope values of the calling host.

Return Value

Type: System.Boolean

true if the ManagementScope is supported; otherwise, false.

The following example shows the SupportsScope method overridden in a derived class. The method returns true for any of the defined ManagementScope values.

Return to top
Show: