Share via


LobSystem.PersistAssembly method

Persists the assembly and dependent assembly bytes in the BDC store.

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

Syntax

'Declaration
Public Sub PersistAssembly ( _
    assembly As Byte(), _
    dependentAssemblies As IList(Of Byte()) _
)
'Usage
Dim instance As LobSystem
Dim assembly As Byte()
Dim dependentAssemblies As IList(Of Byte())

instance.PersistAssembly(assembly, dependentAssemblies)
public void PersistAssembly(
    byte[] assembly,
    IList<byte[]> dependentAssemblies
)

Parameters

  • assembly
    Type: []

    The byte array for the assembly.

Remarks

This method persists the assembly bytes when the SystemType of the present LobSystem is DotNetAssembly. For other LobSystem types, this method throws an InvalidOperationException exception.

See also

Reference

LobSystem class

LobSystem members

Microsoft.SharePoint.BusinessData.Administration namespace