Purpose: checks the linkage of a page chain.
Usage:
dbcc pglinkage (dbid, start_pg_num, number_pages,
printopt, search_for, search_order)
dbid - database ID
start_pg_num - page number at which
to start checking
number_pages - the number of pages to check:
0 - check all pages
printopt - denotes which pages to display:
0 - display only the number of
pages checked
1 - display the last 16 pages checked
2 - display all the page numbers checked
search_for - stop checks when this page number
is reached
search_order - direction of search:
0 - follow previous page pointers
1 - follow next page pointers