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
)
參數
- versionUpgrade
Type: System.Boolean
- recursive
Type: System.Boolean
傳回值
Type: System.Boolean