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