共用方式為


SPWebApplication.CompatibilityRange property

取得或設定是否可使用網站集合升級且的網站集合範本版本範圍都可使用的自助網站架設。

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

Syntax

'宣告
Public Property CompatibilityRange As SPCompatibilityRange
    Get
    Set
'用途
Dim instance As SPWebApplication
Dim value As SPCompatibilityRange

value = instance.CompatibilityRange

instance.CompatibilityRange = value
public SPCompatibilityRange CompatibilityRange { get; set; }

Property value

Type: Microsoft.SharePoint.SPCompatibilityRange
網站集合範本版本相容性範圍。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace