共用方式為


SPWebPartManager.SPWebPartConnections property

取得SPWebPartConnection物件的集合。

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

Syntax

'宣告
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property SPWebPartConnections As SPWebPartConnectionCollection
    Get
'用途
Dim instance As SPWebPartManager
Dim value As SPWebPartConnectionCollection

value = instance.SPWebPartConnections
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public SPWebPartConnectionCollection SPWebPartConnections { get; }

Property value

Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnectionCollection
表示頁面上的 [網頁組件連接的所有物件的集合。

備註

SPWebPartConnection物件擷取 [網頁組件的連線資訊,例如提供者、 消費者、 提供者連接點,消費者連接點,以及轉換程式的資訊。

請參閱

參照

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace