Re: How to get top-level site collections names programmatically
- From: "Steven Collier [MVP]" <steven.collier@xxxxxxxx>
- Date: Sun, 22 May 2005 13:40:01 +0100
I think this might help ...
http://blogs.msdn.com/krichie/archive/2005/05/17/418683.aspx
Steven
On 19/5/05 10:23, in article
1116494628.335168.13980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
"paolo_paganotto@xxxxxxxx" <paolo_paganotto@xxxxxxxx> wrote:
> 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
>
.
- References:
- How to get top-level site collections names programmatically
- From: paolo_paganotto
- How to get top-level site collections names programmatically
- Prev by Date: Re: SharePoint assemblies in VS 2003
- Next by Date: Custom field with data from AD
- Previous by thread: How to get top-level site collections names programmatically
- Next by thread: document workspace in sharepoint - link to users AND to published.
- Index(es):
Relevant Pages
|