Initializes a new instance of the SPSite class based on the specified site collection GUID and URL zone.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
id As Guid, _
zone As SPUrlZone _
)
用法
Dim id As Guid
Dim zone As SPUrlZone
Dim instance As New SPSite(id, zone)
public SPSite(
Guid id,
SPUrlZone zone
)
参数
id
类型:System.GuidA GUID that specifies the site collection.
zone
类型:Microsoft.SharePoint.Administration.SPUrlZoneAn SPUrlZone value that specifies the URL zone.