SPUserCodeRandomLoadBalancerProvider.GetBackupActivationSite method
This member overrides SPUserCodeLoadBalancerProvider.GetBackupActivationSite(SPUserCodeAssemblyGroupId, Guid, ReadOnlyCollection<SPUserCodeServiceInstance>, SPUserCodeServiceInstance).
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Function GetBackupActivationSite ( _
assemblyGroupId As SPUserCodeAssemblyGroupId, _
siteCollectionId As Guid, _
availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance), _
instanceToBackup As SPUserCodeServiceInstance _
) As SPUserCodeActivationSiteInfo
'用途
Dim instance As SPUserCodeRandomLoadBalancerProvider
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
)
參數
- assemblyGroupId
Type: Microsoft.SharePoint.Administration.SPUserCodeAssemblyGroupId
- siteCollectionId
Type: System.Guid
- availableInstances
Type: System.Collections.ObjectModel.ReadOnlyCollection<SPUserCodeServiceInstance>
- instanceToBackup
Type: Microsoft.SharePoint.Administration.SPUserCodeServiceInstance
傳回值
Type: Microsoft.SharePoint.Administration.SPUserCodeActivationSiteInfo
請參閱
參照
SPUserCodeRandomLoadBalancerProvider class