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
serviceInstance
Type: Microsoft.SharePoint.Administration.SPUserCodeServiceInstanceThe user code service instance on which the user code request should be executed.
affinityBucketName
Type: System.StringThe name of the affinity bucket in which the user code request should be executed.
See Also
Reference
SPUserCodeActivationSiteInfo Class