Can someone verify this for me. Thanks in advance.
The time takes to execute either
- sql2008Layer.BuildIndex(BuildIndexMode.Rebuild);
- sql2008Layer.BuildIndex(BuildIndexMode.DoNotRebuild);
takes approx the same time. I am assuming BuildIndexMode.DoNotRebuild will not rebuild the index and doesn't have much overhead if the index exists? The API states BuildIndexMode.DoNotRebuild as "Do not rebuild the index if it exists".
I am interested to know how i can check if an index exist for any given MSSql2008Layer? This should enable me to decide whether to call BuildIndex or not.