Метод 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.