Share via


SPUserCodeActivationSiteInfo Constructor

Initializes a new instance of the SPUserCodeActivationSiteInfo class with the specified user code service instance and the affinity bucket name.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    serviceInstance As SPUserCodeServiceInstance, _
    affinityBucketName As String _
)
'Usage
Dim serviceInstance As SPUserCodeServiceInstance
Dim affinityBucketName As String

Dim instance As New SPUserCodeActivationSiteInfo(serviceInstance, _
    affinityBucketName)
public SPUserCodeActivationSiteInfo(
    SPUserCodeServiceInstance serviceInstance,
    string affinityBucketName
)

Parameters

  • affinityBucketName
    Type: System.String

    The name of the affinity bucket in which the user code request should be executed.

See Also

Reference

SPUserCodeActivationSiteInfo Class

SPUserCodeActivationSiteInfo Members

Microsoft.SharePoint.Administration Namespace