Access stdClass Object

//Get the terms for your post in the "brand" taxonomy
$the_terms = wp_get_object_terms( $post->ID, 'brand' );

$object = $the_terms[0];
$taxonomy_name = $object->taxonomy;