def list_by_server(resource_group_name, server_name, expand:nil, filter:nil, custom_headers:nil)
      response = list_by_server_async(resource_group_name, server_name, expand:expand, filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_server(resource_group_name, server_name, expand:nil, filter:nil, custom_headers:nil)
      response = list_by_server_async(resource_group_name, server_name, expand:expand, filter:filter, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Returns a list of databases in a server.

 @param resource_group_name [String] The name of the resource group that
 contains the resource. You can obtain this value from the Azure Resource
 Manager API or the portal.
 @param server_name [String] The name of the server.
 @param expand [String] A comma separated list of child objects to expand in
 the response. Possible properties: serviceTierAdvisors,
 transparentDataEncryption.
 @param filter [String] An OData filter expression that describes a subset of
 databases to return.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DatabaseListResult] operation results.