SPLimitedWebPartManager.SPDisconnectWebParts method
中斷連接兩個連接的 Web 組件。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub SPDisconnectWebParts ( _
spConnection As SPWebPartConnection _
)
'用途
Dim instance As SPLimitedWebPartManager
Dim spConnection As SPWebPartConnection
instance.SPDisconnectWebParts(spConnection)
public void SPDisconnectWebParts(
SPWebPartConnection spConnection
)
參數
- spConnection
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection