Sitecore 5.0 API

Context.Site Property

Represents the current site.

[Visual Basic]
Public Shared Property Site As SiteContext
[C#]
public static Sites.SiteContext Site {get; set;}

Remarks

The Site object contains information about the current site, e.g. database, language and domain.

A site is configured in the Sites section in web.config.

See Also

Context Class | Sitecore Namespace