共用方式為


SPSite.NeedsUpgradeByType method

true 如果物件需要升級。否則,false。

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

Syntax

'宣告
Public Function NeedsUpgradeByType ( _
    versionUpgrade As Boolean, _
    recursive As Boolean _
) As Boolean
'用途
Dim instance As SPSite
Dim versionUpgrade As Boolean
Dim recursive As Boolean
Dim returnValue As Boolean

returnValue = instance.NeedsUpgradeByType(versionUpgrade, _
    recursive)
public bool NeedsUpgradeByType(
    bool versionUpgrade,
    bool recursive
)

參數

傳回值

Type: System.Boolean

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace