Z.Expressions.SqlServer.Eval.SQLNET.LoadConfiguration C# (CSharp) Method

LoadConfiguration() private method

private LoadConfiguration ( ) : bool
return bool
        public static bool LoadConfiguration()
        {
            try
            {
                using (var connection = new SqlConnection("context connection=true"))
                {
                    connection.Open();

                    using (var command = new SqlCommand("SQLNET_Configuration", connection))
                    {
                        command.CommandType = CommandType.StoredProcedure;
                        command.ExecuteNonQuery();
                    }
                }

                return true;
            }
            catch
            {
                // Oops! it's okay, the procedure does not always exist
                return false;
            }
        }
    }
SQLNET