Sitecore 5.0 API

Factory.GetSite Method 

Gets the site.

[Visual Basic]
Public Shared Function GetSite( _
   ByVal siteName As String _
) As SiteContext
[C#]
public static SiteContext GetSite(
   string siteName
);

Parameters

siteName
Name of the site.

See Also

Factory Class | Sitecore.Configuration Namespace