SPSite 构造函数

Initializes a new instance of the SPSite class.

重载 列表

  名称 说明
公共方法 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.

页首

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间