SPFeatureDefinitionCollection.Remove method (String, Int32, Boolean)
強制移除與指定之相對資訊清單路徑及相容性層級的功能定義集合中。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Remove ( _
relativePathToFeatureManifest As String, _
compatibilityLevel As Integer, _
force As Boolean _
)
'用途
Dim instance As SPFeatureDefinitionCollection
Dim relativePathToFeatureManifest As String
Dim compatibilityLevel As Integer
Dim force As Boolean
instance.Remove(relativePathToFeatureManifest, _
compatibilityLevel, force)
public void Remove(
string relativePathToFeatureManifest,
int compatibilityLevel,
bool force
)
參數
relativePathToFeatureManifest
Type: System.String內含該功能的資訊清單的相對路徑的字串。
- compatibilityLevel
Type: System.Int32
force
Type: System.Boolean如果是 true,強制移除 「 功能 」 定義 ;否則為 false。
請參閱
參照
SPFeatureDefinitionCollection class