SPUserCodeLoadBalancerProvider.GetBackupActivationSite method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Function GetBackupActivationSite ( _
    assemblyGroupId As SPUserCodeAssemblyGroupId, _
    siteCollectionId As Guid, _
    availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance), _
    instanceToBackup As SPUserCodeServiceInstance _
) As SPUserCodeActivationSiteInfo
'Usage
Dim instance As SPUserCodeLoadBalancerProvider
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 virtual SPUserCodeActivationSiteInfo GetBackupActivationSite(
    SPUserCodeAssemblyGroupId assemblyGroupId,
    Guid siteCollectionId,
    ReadOnlyCollection<SPUserCodeServiceInstance> availableInstances,
    SPUserCodeServiceInstance instanceToBackup
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPUserCodeActivationSiteInfo

See also

Reference

SPUserCodeLoadBalancerProvider class

SPUserCodeLoadBalancerProvider members

Microsoft.SharePoint.Administration namespace