Partilhar 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