删除具有指定相对清单路径和兼容性级别从集合的功能定义。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Remove ( _
relativePathToFeatureManifest As String, _
compatibilityLevel As Integer _
)
用法
Dim instance As SPFeatureDefinitionCollection
Dim relativePathToFeatureManifest As String
Dim compatibilityLevel As Integer
instance.Remove(relativePathToFeatureManifest, _
compatibilityLevel)
public void Remove(
string relativePathToFeatureManifest,
int compatibilityLevel
)
参数
relativePathToFeatureManifest
类型:System.String一个字符串,包含该功能的清单的相对路径。
- compatibilityLevel
类型:System.Int32
另请参阅
引用
SPFeatureDefinitionCollection 类