Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Create a column index using the sharepoint object model

  Date: Sep 17    Category: MOSS    Views: 1230

I have scoured the interwebs for the answer to this one but I can only
ever find references on how to create a column index for a column in a
list via the SharePoint List Settings UI. Are there any gurus out there
who have an answer stashed away in the back of their mind? I am using
SharePoint 2007 Enterpise at the moment.

Share: 

 

1 Answer Found

 
Answer #1    Answered On: Sep 17    

If you get a particular SPField object (through the Fields property on an
SPList) you can set the boolean Indexed property.

I'm not sure if more is required, but that should get you somewhere.

 
Didn't find what you were looking for? Find more on Create a column index using the sharepoint object model Or get search suggestion and latest updates.




Tagged: