共用方式為


SPWebPartManager.SPDisconnectWebParts method

中斷連接兩個連接的 Web 組件。

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

Syntax

'宣告
Public Sub SPDisconnectWebParts ( _
    spConnection As SPWebPartConnection _
)
'用途
Dim instance As SPWebPartManager
Dim spConnection As SPWebPartConnection

instance.SPDisconnectWebParts(spConnection)
public void SPDisconnectWebParts(
    SPWebPartConnection spConnection
)

參數

Exceptions

Exception Condition
ArgumentNullException

這個參數是a null reference (Nothing in Visual Basic)。

備註

連線資訊儲存在使用者網頁組件。

請參閱

參照

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace