protected void ImpersonateIntegrationUserPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e != null && e.PropertyName == "Value") { // When the Integration user id changes, need to reset the services this.orgService = null; this.serverConfiguration = null; this.serverConnection = null; } }
protected void UserNameOrPasswordPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e != null && e.PropertyName == "Value") { // If the UserName and/or Password changes, need to reset the Crm Service and the Metadata service this.orgService = null; this.discoveryService = null; this.serverConfiguration = null; this.serverConnection = null; } }
protected void DiscoveryUrlPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (e != null && e.PropertyName == "Value") { // When the discovery service URL changes, need to reset everything this.endpoint = null; this.orgExtDetail = null; this.integrationUserId = Guid.Empty; this.systemUserId = Guid.Empty; this.orgService = null; this.discoveryService = null; this.BaseCurrency = string.Empty; this.serverConfiguration = null; this.serverConnection = null; } }