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.Boolean

    If true, version-to-version site collection upgrade is requested; otherwise false for build-to-build site collection upgrade.

  • recursive
    类型:System.Boolean

    If 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.

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间