FILEGROUP_ID (Transact-SQL)
SQL Server 2012
Returns the filegroup identification (ID) number for a specified filegroup name.
Returns the filegroup identification (ID) number for a specified filegroup name.