共用方式為


SPWeb.PortalMember property

取得布林值,這個值,指出網站是否與入口網站相關聯。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property PortalMember As Boolean
    Get
'用途
Dim instance As SPWeb
Dim value As Boolean

value = instance.PortalMember
public bool PortalMember { get; }

Property value

Type: System.Boolean
true如果網站關聯入口網站。否則, false。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace