public DeploymentResult VerifyCanRun() { var results = new DeploymentResult(); results.AddNote(Name); if (_connectionInfo.WillPromptForUserName()) { results.AddAlert("We are going to prompt for a username."); } if (_connectionInfo.WillPromptForPassword()) { results.AddAlert("We are going to prompt for a password."); } //check you can connect to the _instancename //check that the path _scriptsLocation exists return(results); }