IDENT_CURRENTkey word.
Here is the syntax: IDENT_CURRENT('stringTableName')
It could be used like this:
Declare @TestId int
set @TestId = IDENT_CURRENT('TestTable')
or it can be simply selected:
Select IDENT_CURRENT('TestTable')
Here is a link to Microsofts definition: IDENT_CURRENT