强制删除集合中的指定相对清单路径的功能定义。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Remove ( _
relativePathToFeatureManifest As String, _
force As Boolean _
)
用法
Dim instance As SPFeatureDefinitionCollection
Dim relativePathToFeatureManifest As String
Dim force As Boolean
instance.Remove(relativePathToFeatureManifest, _
force)
public void Remove(
string relativePathToFeatureManifest,
bool force
)
参数
relativePathToFeatureManifest
类型:System.String一个字符串,包含该功能的清单的相对路径。
force
类型:System.Booleantrue以强制删除的特征定义 ;否则为false。
另请参阅
引用
SPFeatureDefinitionCollection 类