Site.NeedsUpgradeByType 方法
true物件需要升級; 如果否則, 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如果true,版本的網站集合升級會要求。建立-建立網站集合升級的其他方式false 。
recursive
類型:System.Boolean如果true,子可升級物件將會檢查;否則false。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
如果此網站集合需要指定類型; 的網站集合升級會傳回true否則, false。