This documentation is archived and is not being maintained.

SPControl.SetContextSite Method

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static void SetContextSite(
	HttpContext context,
	SPSite site
)

Parameters

context
Type: System.Web.HttpContext
site
Type: Microsoft.SharePoint.SPSite
Show: