SPSolutionCollection.Remove 方法 (String)
从解决方案的集合中移除具有指定名称的解决方案。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Remove ( _
name As String _
)
用法
Dim instance As SPSolutionCollection
Dim name As String
instance.Remove(name)
public void Remove(
string name
)
参数
name
类型:System.String包含名称的解决方案string 。
备注
如果集合中已被删除的解决方案的所有语言包, Remove方法将返回一个错误。在这种情况下,使用该解决方案的Delete方法。