First of all whatever code you provided above is not a method it's a Function.There is so much difference between method and function.Function always returns a value.
You can call above function using following code :
SaveSMTPSettings(txtSMTP_Host.Text , txtSMTP_Port.Text , txtFrom_Email.Text , txtEmail_Password.Text , txtDefault_From.Text)