共用方式為


SPWebApplication.AllowPartToPartCommunication property

取得或設定一個值,指出 Web 應用程式是否允許網頁組件與彼此通訊。

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

Syntax

'宣告
Public Property AllowPartToPartCommunication As Boolean
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowPartToPartCommunication

instance.AllowPartToPartCommunication = value
public bool AllowPartToPartCommunication { get; set; }

Property value

Type: System.Boolean
true如果互相通訊 ; 允許網頁組件否則,請false。預設值為true。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace