SPUserCodeCachedAssemblyGroup.Add method (SPUserCodeAssemblyFileDefinition[])

Stores the data of an array of assembly files from the user assembly group to disk and to the in-memory cache.

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

Syntax

'Declaration
Public Sub Add ( _
    fileDefinitions As SPUserCodeAssemblyFileDefinition() _
)
'Usage
Dim instance As SPUserCodeCachedAssemblyGroup
Dim fileDefinitions As SPUserCodeAssemblyFileDefinition()

instance.Add(fileDefinitions)
public void Add(
    SPUserCodeAssemblyFileDefinition[] fileDefinitions
)

Parameters

  • fileDefinitions
    Type: []

    The user assembly files to be added.

Remarks

This method calls the Add(SPUserCodeAssemblyFileDefinition) method to persist all assembly files from the user assembly group, which should be cached to disk, and adds them to the in-memory cache data structures. This method does not support files that contain more than MaxValue bytes, or greater than 2GB in size.

See also

Reference

SPUserCodeCachedAssemblyGroup class

SPUserCodeCachedAssemblyGroup members

Add overload

Microsoft.SharePoint.Administration namespace