How to get top-level site collections names programmatically
- From: paolo_paganotto@xxxxxxxx
- Date: 19 May 2005 02:23:48 -0700
Hi everybody,
I'd be glad if someone could solve my problem.
I need to get the names of the top level site collections names;
suppose I've created the managed paths "path1/" and "path2/", I'd like
to get programmatically the array "sites","path1","path2", as it is
when creating a new site: SharePoint shows a combobox with the top
level site collection names, followed by "/" and the textbox where you
put the name.
The collection of SPSites returned by the SPVirtualServer object
returns all the sites below these collections, included the ones under
"personal" and itn't really what I need.
I've looked around for it, without success.
Thanx a lot in advance,
Paolo
.
- Follow-Ups:
- Re: How to get top-level site collections names programmatically
- From: Steven Collier [MVP]
- Re: How to get top-level site collections names programmatically
- Prev by Date: Backup of Sharepoint...Please Help!!!!
- Next by Date: document workspace in sharepoint - link to users AND to published.
- Previous by thread: Backup of Sharepoint...Please Help!!!!
- Next by thread: Re: How to get top-level site collections names programmatically
- Index(es):