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.