Determining the Scope of Resource Limits

The scope parameter (for example, sp_add_resource_limit scope or sp_help_resource_limit scope) specifies the duration of a limit in Transact-SQL statements.

The possible limit scopes are query, query batch, and transaction:
Related concepts
Scope of the io_cost Limit Type
Scope of the elapsed_time Limit Type
Scope of the row_count Limit Type