Haemophilus parasuis is part of the microbiota of the upper respiratory tract in swine. However, virulent strains can cause a systemic disease known as Glässer’s disease. Several virulence factors have been described in H. parasuis including the virulence-associated trimeric autotransporters (VtaAs). VtaA2 is up-regulated during infection and is only found in virulent strains. In order to determine its biological function, the vtaA2 gene was cloned with its native promotor region in pACYC184, and the transformed Escherichia coli was used to perform functional in vitro assays. VtaA2 was found to have a role in attachment to plastic, mucin, BSA, fibronectin and collagen. As other VtaAs from H. parasuis, the passenger domain of VtaA2 contains collagen domains. In order to examine the contribution of the collagen repeats to VtaA2 function, a recombinant vtaA2 without the central collagen domains was obtained and named vtaA2OL. VtaA2OL showed similar capacity than VtaA2 to adhere to plastic, mucin, BSA, fibronectin and plasma but a reduced capacity to adhere to collagen, suggesting that the collagen domains of VtaA2 are involved in collagen attachment. No function in cell adhesion and invasion to epithelial alveolar cell line A549 or unspecific binding to primary alveolar macrophages was found. Likewise VtaA2 had no role in serum or phagocytosis resistance. We propose that VtaA2 mediates adherence to the host by binding to the mucin, found in the upper respiratory tract mucus, and to the extracellular matrix proteins, present in the connective tissue of systemic sites, such as the serosa.