SPWebPartManager.SPDisconnectWebParts 方法
断开连接两个连接的 Web 部件。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub SPDisconnectWebParts ( _
spConnection As SPWebPartConnection _
)
用法
Dim instance As SPWebPartManager
Dim spConnection As SPWebPartConnection
instance.SPDisconnectWebParts(spConnection)
public void SPDisconnectWebParts(
SPWebPartConnection spConnection
)
参数
spConnection
类型:Microsoft.SharePoint.WebPartPages.SPWebPartConnection要断开连接的连接。
异常
异常 | 条件 |
---|---|
ArgumentNullException | 此参数是空引用(无 在 Visual Basic 中)。 |
备注
连接信息都存储在使用者 Web 部件。