public override void Unprovision(bool deleteData) { Status = SPObjectStatus.Unprovisioning; Update(); _loadBalancer.Unprovision(); base.Unprovision(deleteData); Status = SPObjectStatus.Disabled; Update(); }
/// <summary> /// Unprovision method override /// </summary> public override void Unprovision(bool deleteData) { ProxyClaimsProviderParameters prm = null; try { prm = this.FillClaimsProviderParameters(); if (prm != null) { DropClaimProvider(prm); } } catch { // Nothing ! let everything in place } m_LoadBalancer.Unprovision(); base.Unprovision(deleteData); this.Update(true); }
// unprovisioning the app proxy requires deleting the load balancer public override void Unprovision(bool deleteData) { _loadBalancer.Unprovision(); base.Unprovision(deleteData); this.Update(); }