A property manager was shot when he and sheriff's deputies attempted to deliver a foreclosure notice at a home in unincorporated San Ramon, Calif., Wednesday afternoon, prompting an armed standoff between the shooter and law enforcement officers.

Deputies were assisting with a foreclosure eviction when the property manager was shot through the front door by someone inside the home in the 3400 block of Ashbourne Circle, sheriff's spokesman Jimmy Lee said.

Property Manager Shot in San Ramon During Eviction

A property manager was shot when he and sheriff's deputies attempted to deliver a foreclosure notice at a home in unincorporated San Ramon Wednesday afternoon, prompting an armed standoff between the shooter and law enforcement officers. (Published Wednesday, Sep 18, 2013)

The standoff with the suspect surrendering to police just before 6 p.m. SWAT members sent gas inside the home to force the suspect out.

The suspect was treated for gas exposure at the scene and then transported to a local hospital. He will then be booked in jail, police said.

RAW VIDEO: SWAT Responds to San Ramon Neighborhood

Deputies were assisting with a foreclosure eviction when the locksmith was shot by someone inside the home in the 3400 block of Ashbourne Circle. (Published Wednesday, Sep 18, 2013)

Residents in the vicinity of the shooting at the house inside Norris Canyon Estates, a gated community, were told to shelter-in-place by the Contra Costa County Sheriff's Office.

The shooting was reported just before 2 p.m., Lee said.

According to police, upon arriving at the home, deputies knocked on the door, but no one answered. A property manager that was with the deputies was then asked to remove the door handle. While he was doing that, according to Lee, someone shot him in the leg.

Deputies did not return fire, Lee said.

About an hour after the shooting started, an automated phone message was sent out from the county's community warning system advising residents on parts of Ashbourne Circle to lock all doors and windows and to stay off of the phone unless they need to call law enforcement agencies.

The shelter-in-place order was due to the police activity in the area, according to the automated message.

"They came and they evacuated us from the house, because we were right across from the house where it was happening," Norris Canyon Estates resident Monica Corbett said. "It's crazy, especially behind a gated-in area."

Houses in the Norris Canyon Estates typically range in value between $1.5 and $1.8 million, according to public records. The five-bedroom, 5,034-square-foot house involved in the standoff was sold in 2004 for $1.3 million, records show. It foreclosed to the lender in September 2010.

The sheriff's office initially reported that the incident was an officer-involved shooting with a locksmith getting shot, but later clarified that only the property manager was hit by gunfire.