Freigeben über


SPUserCodeRandomLoadBalancerProvider.GetActivationSite-Methode

Ruft die Instanz des Diensts Benutzer Code Host für die angeforderte Sandkastenlösung verwenden.

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

Syntax

'Declaration
Public Overrides Function GetActivationSite ( _
    assemblyGroupId As SPUserCodeAssemblyGroupId, _
    siteCollectionId As Guid, _
    availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance) _
) As SPUserCodeActivationSiteInfo
'Usage
Dim instance As SPUserCodeRandomLoadBalancerProvider
Dim assemblyGroupId As SPUserCodeAssemblyGroupId
Dim siteCollectionId As Guid
Dim availableInstances As ReadOnlyCollection(Of SPUserCodeServiceInstance)
Dim returnValue As SPUserCodeActivationSiteInfo

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

Parameter

  • siteCollectionId
    Typ: System.Guid

    Die ID der Websitesammlung, in denen die Sandkastenlösung aufgerufen wurde.

Rückgabewert

Typ: Microsoft.SharePoint.Administration.SPUserCodeActivationSiteInfo
Die Instanz der Dienst Benutzer Code Ausführung Host, der die Sandkastenlösung verarbeitet verwendet wird.

Siehe auch

Referenz

SPUserCodeRandomLoadBalancerProvider Klasse

SPUserCodeRandomLoadBalancerProvider-Member

Microsoft.SharePoint.Administration-Namespace