SPSite constructor
SharePoint 2013
Initializes a new instance of the SPSite class.
| Name | Description | |
|---|---|---|
|
SPSite(Guid) | Initializes a new instance of the SPSite class based on the specified ID for a site collection. |
|
SPSite(String) | Initializes a new instance of the SPSite class based on the specified URL. |
|
SPSite(Guid, SPUrlZone) | Initializes a new instance of the SPSite class based on the specified site collection GUID and URL zone. |
|
SPSite(Guid, SPUserToken) | Initializes a new instance of the SPSite class based on the specified site collection GUID and user token. |
|
SPSite(String, SPUserToken) | Initializes a new instance of the SPSite class based on the specified absolute URL and user token. |
|
SPSite(Guid, SPUrlZone, SPUserToken) | Initializes a new instance of the SPSite class based on the specified site collection GUID, URL zone, and user token. |