SPSite constructor (Guid, SPUrlZone)
初始化根據指定的網站集合的 GUID 和 URL 區域的SPSite類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: System.Guid指定網站集合的 GUID。
zone
Type: Microsoft.SharePoint.Administration.SPUrlZone指定 URL 區域的SPUrlZone值。