SearchServiceApplication.SetSiteCollectionUpgradeStatus 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function SetSiteCollectionUpgradeStatus ( _
tenantId As Guid, _
spSiteId As Guid, _
status As SiteSettingsUpgradeStatus, _
statusChangeSequence As Integer, _
<OutAttribute> ByRef originalStatus As SiteSettingsUpgradeStatus, _
<OutAttribute> ByRef newStatusChangeSequence As Integer _
) As Integer
用法
Dim instance As SearchServiceApplication
Dim tenantId As Guid
Dim spSiteId As Guid
Dim status As SiteSettingsUpgradeStatus
Dim statusChangeSequence As Integer
Dim originalStatus As SiteSettingsUpgradeStatus
Dim newStatusChangeSequence As Integer
Dim returnValue As Integer
returnValue = instance.SetSiteCollectionUpgradeStatus(tenantId, _
spSiteId, status, statusChangeSequence, _
originalStatus, newStatusChangeSequence)
public int SetSiteCollectionUpgradeStatus(
Guid tenantId,
Guid spSiteId,
SiteSettingsUpgradeStatus status,
int statusChangeSequence,
out SiteSettingsUpgradeStatus originalStatus,
out int newStatusChangeSequence
)
参数
- tenantId
类型:System.Guid
- spSiteId
类型:System.Guid
- statusChangeSequence
类型:System.Int32
- originalStatus
类型:Microsoft.Office.Server.Search.Administration.SiteSettingsUpgradeStatus
- newStatusChangeSequence
类型:System.Int32
返回值
类型:System.Int32