Please look at the following address.....
Am thinking that the function SETDNSSERVERSEARCH ORDER waits for an array.But did not accepts either a string.

http://msdn.microsoft.com/library/en-us/wmisdk/wmi/setdnsserversearchorder_method_in_class_win32_networkadapterconfiguration.asp?frame=true

I have make only one post but am reading other posts for about 2 years.