Rainstorm waterlogging disaster, as one of the most devastating natural hazards in Shanghai, has badly affected residents'lives and operation of urban system. As the accumulation of population and wealth, in the background of global climate change and sea level rises, the vulnerability of coastal city show an increasing trend which may lead a very serious situation of rainstorm waterlogging disaster risk. From the point view of scenario analysis, the vulnerability of the indoor property and structure of the buildings to rainstorm waterlogging disasters in central urban area of Shanghai was analyzed and evaluated combined with the previous studies. The main conclusions were as follows: 1) The vulnerability of different building types presents significant difference. The warehousing and the old-style residence are the most vulnerable building types when exposure to waterlogging disasters. 2) The loss rate, number, and types of damaged buildings increase as the precipitation intensity increases. 3) The structure of buildings was more vulnerable than the properties in the buildings, but the loss rate of building structure was lower than that of the properties in the building in the same condition. 4) The number of building with damaged structure was higher than that of building with damages property under the same scenario. 5) The spatial difference of the vulnerability of buildings is obvious. Over all, the rainstorm waterlogging disaster has the most serious effects on the buildings in Yangpu, Putuo and Xuhui District; the buildings in Changning, Hongkou and Zhabei District have medium vulnerability rank; the buildings in Luwan, Jing'an and Huangpu District have low vulnerability rank.