Export (0) Print
Expand All

SPSite Constructor (Guid)

Windows SharePoint Services 3

Initializes a new instance of the SPSite class based on the specified GUID for a site collection and the default URL zone (SPUrlZone.Default).

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

public SPSite(
	Guid id
)

Parameters

id
Type: System.Guid
A System.Guid object that specifies the site collection. If no site collection is found with the specified GUID, this constructor throws a File Not Found exception.

Community Additions

ADD
Show:
© 2014 Microsoft