Share via


ISPUserCodeExecutionHostProxy.Execute Method

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

Syntax

'Declaration
Function Execute ( _
    userCodeWrapperType As Type, _
    siteCollectionId As Guid, _
    userToken As SPUserToken, _
    affinityBucketName As String, _
    executionContext As SPUserCodeExecutionContext _
) As Object
'Usage
Dim instance As ISPUserCodeExecutionHostProxy
Dim userCodeWrapperType As Type
Dim siteCollectionId As Guid
Dim userToken As SPUserToken
Dim affinityBucketName As String
Dim executionContext As SPUserCodeExecutionContext
Dim returnValue As Object

returnValue = instance.Execute(userCodeWrapperType, _
    siteCollectionId, userToken, affinityBucketName, _
    executionContext)
Object Execute(
    Type userCodeWrapperType,
    Guid siteCollectionId,
    SPUserToken userToken,
    string affinityBucketName,
    SPUserCodeExecutionContext executionContext
)

Parameters

Return Value

Type: System.Object

See Also

Reference

ISPUserCodeExecutionHostProxy Interface

ISPUserCodeExecutionHostProxy Members

Microsoft.SharePoint.Administration Namespace