Partager via


OpenWeb(Guid) Method

The OpenWeb method of the SPSite class returns the site with the specified GUID.

Parameters

gWebId   A GUID that specifies which site to return.

Return Value

A Microsoft.SharePoint.SPWeb object that represents the site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security