WASHINGTON — President Trump on Tuesday issued his second veto against legislation seeking to end his national emergency at the southwestern border, rejecting bipartisan objections to his efforts to obtain funds for a border wall.

His move, announced late Tuesday night, was expected and will return the resolution to Congress. It is unlikely to garner the two-thirds majority needed there to override the veto.

The announcement comes exactly seven months after Mr. Trump issued the first veto of his presidency against a nearly identical resolution that would have terminated the national emergency. He declared the emergency earlier this year after Congress declined to designate money for his border wall; he has sought to allocate funds from other government agencies to the southwestern border.

Mr. Trump, announcing the veto, noted that he had vetoed the earlier measure “because it was a dangerous resolution that would undermine United States sovereignty and threaten the lives and safety of countless Americans.”