Site.NeedsUpgradeByType 方法
true if the object needs to be upgraded; otherwise, false.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Function NeedsUpgradeByType ( _
versionUpgrade As Boolean, _
recursive As Boolean _
) As ClientResult(Of Boolean)
用法
Dim instance As Site
Dim versionUpgrade As Boolean
Dim recursive As Boolean
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.NeedsUpgradeByType(versionUpgrade, _
recursive)
public ClientResult<bool> NeedsUpgradeByType(
bool versionUpgrade,
bool recursive
)
参数
versionUpgrade
类型:System.BooleanIf true, version-to-version site collection upgrade is requested; otherwise false for build-to-build site collection upgrade.
recursive
类型:System.BooleanIf true, child upgradable objects will be inspected; otherwise false.
返回值
类型:Microsoft.SharePoint.Client.ClientResult<Boolean>
Returns true if this site collection requires site collection upgrade of the specified type; otherwise, false.