Export (0) Print
Expand All

SPSite constructor (Guid, SPUrlZone)

Initializes a new instance of the SPSite class based on the specified site collection GUID and URL zone.

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

public SPSite(
	Guid id,
	SPUrlZone zone
)

Parameters

id
Type: System.Guid

A GUID that specifies the site collection.

zone
Type: Microsoft.SharePoint.Administration.SPUrlZone

An SPUrlZone value that specifies the URL zone.

Show:
© 2014 Microsoft