Freigeben über


SPUserCodeLoadBalancerProvider.GetActivationSite-Methode

Dient zum Abrufen des Servers für die angegebene Kombination von angegebenen Assembly Gruppe und Website-Auflistung verwenden.

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

Syntax

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

Parameter

  • siteCollectionId
    Typ: System.Guid

    Die websitesammlungsbezeichner der Website, die innerhalb das Wrapper-Objekt arbeiten möchten.

Rückgabewert

Typ: Microsoft.SharePoint.Administration.SPUserCodeActivationSiteInfo
Gibt eine SPUserCodeActivationSiteInfo Liste der verfügbaren Dienstinstanzen in der aktuellen Farm zurück.

Siehe auch

Referenz

SPUserCodeLoadBalancerProvider Klasse

SPUserCodeLoadBalancerProvider-Member

Microsoft.SharePoint.Administration-Namespace