I noticed in the example search webpart available from microsoft, that their SQL query is similar to this.... "SELECT stuff FROM SCOPE() WHERE scope=4". So they are using an integer value, in this case 4, to identify an Application Definition File
(in this case, the AdventureWorks ADF). How do I programmatically determine which integer value corresponds to my application definition file?
View Complete Post