HierarchyInfo.SupportsDelete Property

IIS 7.0

Gets a value indicating whether the node supports removal.

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

protected internal virtual bool SupportsDelete { get; }

Property Value

Type: System.Boolean

true if the node supports deletion; otherwise, false. The default is false.

If the SupportsDelete property is set to true, the user interface (UI) presents a Remove command on the shortcut menu for a node and responds to the DELETE key.

The following example implements the SupportsDelete property.

Return to top