private bool ValidateServer()
        {
            switch (WebDeploymentType)
            {
            case WebDeploymentType.Ftp:
                return(HostName.Validate(Server));

            default:
                return(true);
            }
        }
        public string this[string columnName]
        {
            get
            {
                switch (columnName)
                {
                case nameof(Name):
                    return(ClientSettings.ValidateName(Name) ? null : NameError);

                case nameof(Server):
                    return(HostName.Validate(Server) ? null : ServerError);

                case nameof(Port):
                    return(TcpPort.Validate(Port) ? null : PortError);

                default:
                    return(null);
                }
            }
        }