共用方式為


SPFeatureDefinition.CompatibilityLevel property

會取得代表相容性層級的功能定義的整數。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property CompatibilityLevel As Integer
    Get
'用途
Dim instance As SPFeatureDefinition
Dim value As Integer

value = instance.CompatibilityLevel
public int CompatibilityLevel { get; }

Property value

Type: System.Int32
整數,代表相容性層級

備註

功能定義的相容性層級的整數表示的範例是12|14|15。

請參閱

參照

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace