Поделиться через


Метод SPUserCodePopularityLoadBalancerProvider.GetBackupActivationSite

Этот элемент переопределяет SPUserCodeLoadBalancerProvider.GetBackupActivationSite(SPUserCodeAssemblyGroupId, Guid, ReadOnlyCollection<SPUserCodeServiceInstance>, SPUserCodeServiceInstance).

Пространство имен:  Microsoft.SharePoint.Administration
Сборка:  Microsoft.SharePoint (в Microsoft.SharePoint.dll)

Синтаксис

'Декларация
Public Overrides Function GetBackupActivationSite ( _
    assemblyGroupId As SPUserCodeAssemblyGroupId, _
    siteCollectionId As Guid, _
    availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance), _
    instanceToBackup As SPUserCodeServiceInstance _
) As SPUserCodeActivationSiteInfo
'Применение
Dim instance As SPUserCodePopularityLoadBalancerProvider
Dim assemblyGroupId As SPUserCodeAssemblyGroupId
Dim siteCollectionId As Guid
Dim availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance)
Dim instanceToBackup As SPUserCodeServiceInstance
Dim returnValue As SPUserCodeActivationSiteInfo

returnValue = instance.GetBackupActivationSite(assemblyGroupId, _
    siteCollectionId, availableInstances, _
    instanceToBackup)
public override SPUserCodeActivationSiteInfo GetBackupActivationSite(
    SPUserCodeAssemblyGroupId assemblyGroupId,
    Guid siteCollectionId,
    ReadOnlyCollection<SPUserCodeServiceInstance> availableInstances,
    SPUserCodeServiceInstance instanceToBackup
)

Параметры

Возвращаемое значение

Тип: Microsoft.SharePoint.Administration.SPUserCodeActivationSiteInfo

См. также

Справочные материалы

SPUserCodePopularityLoadBalancerProvider класс

Элементы SPUserCodePopularityLoadBalancerProvider

Пространство имен Microsoft.SharePoint.Administration