Compartilhar via


ModuleProvider.SetChildDelegationState(String, DelegationState) Método

Definição

Quando implementado em uma classe derivada, define o estado de delegação especificado para o caminho especificado.

public:
 virtual void SetChildDelegationState(System::String ^ path, Microsoft::Web::Management::Server::DelegationState ^ delegationState);
public virtual void SetChildDelegationState (string path, Microsoft.Web.Management.Server.DelegationState delegationState);
abstract member SetChildDelegationState : string * Microsoft.Web.Management.Server.DelegationState -> unit
override this.SetChildDelegationState : string * Microsoft.Web.Management.Server.DelegationState -> unit

Parâmetros

path
String

O caminho do host de chamada.

delegationState
DelegationState

DelegationState ao dataset.

Exemplos

O exemplo a seguir mostra como substituir o SetChildDelegationState método em uma classe derivada.

public override void SetChildDelegationState(string path, DelegationState state) {

    _delState = state;
    if (base.SupportsDelegation != true)
        return;

    base.SetChildDelegationState(path, state);
} 

Aplica-se a