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
- userCodeWrapperType
Type: System.Type
- siteCollectionId
Type: System.Guid
- userToken
Type: Microsoft.SharePoint.SPUserToken
- affinityBucketName
Type: System.String
- executionContext
Type: Microsoft.SharePoint.UserCode.SPUserCodeExecutionContext
Return Value
Type: System.Object
See Also
Reference
ISPUserCodeExecutionHostProxy Interface