Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetContextWeb method of the SPControl class sets the Web site that serves as context for the request.
Parameters
context A System.Web.HTTPContext object, which encapsulates the HTTP-specific context that is used by the server to process site requests.
web A Microsoft.SharePoint.SPWeb object that represents the Web site.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security