Share via


ConfigurationModuleProvider.SetChildDelegationState Method

Definition

Sets the specified delegation state for the specified path.

public:
 override void SetChildDelegationState(System::String ^ path, Microsoft::Web::Management::Server::DelegationState ^ state);
public override void SetChildDelegationState (string path, Microsoft.Web.Management.Server.DelegationState state);
override this.SetChildDelegationState : string * Microsoft.Web.Management.Server.DelegationState -> unit
Public Overrides Sub SetChildDelegationState (path As String, state As DelegationState)

Parameters

path
String

The path of the calling host.

state
DelegationState

The new DelegationState object.

Exceptions

path is null or empty.

path is not preceded by a forward slash (/).

Remarks

This method sets the DelegationState object of child nodes to the DelegationState of the module provider. If the parent node is read-only, the child nodes will be read-only. If the parent node is read/write, the child nodes will be read/write. The parent node sets the default delegation permissions for all its child nodes. The delegation for an individual child node overrides the default delegation for all child nodes. This enables the administrator to delegate a specific child node of the Web site.

Applies to

See also