다음을 통해 공유


SPUserCodeWrapper.UserCodeAssemblyGroup Property

Gets or set the SPUserCodeCachedAssemblyGroup object that this wrapper should use.

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

Syntax

'Declaration
Public Property UserCodeAssemblyGroup As SPUserCodeCachedAssemblyGroup
    Get
    Set
'Usage
Dim instance As SPUserCodeWrapper
Dim value As SPUserCodeCachedAssemblyGroup

value = instance.UserCodeAssemblyGroup

instance.UserCodeAssemblyGroup = value
public SPUserCodeCachedAssemblyGroup UserCodeAssemblyGroup { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPUserCodeCachedAssemblyGroup
A SPUserCodeCachedAssemblyGroup object.

Exceptions

Exception Condition
ArgumentNullException

The value provided is a null reference (Nothing in Visual Basic.)

InvalidOperationException

The property was already set. This property can only be set once.

Remarks

This property must only be set once by the worker process manager that activated this object instance.

See Also

Reference

SPUserCodeWrapper Class

SPUserCodeWrapper Members

Microsoft.SharePoint.Administration Namespace