SPWeb.ParentWebId property
取得網站的父網站的識別項 (ID)。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ParentWebId As Guid
Get
'用途
Dim instance As SPWeb
Dim value As Guid
value = instance.ParentWebId
public Guid ParentWebId { get; }
Property value
Type: System.Guid
識別父網站的 GUID。