VistaDB 5






The assembly name to register in database
The full file name containing the assembly
User's description
AddAssembly Method
Add assembly from external file and store it in database for use by CLR Procs, triggers, etc. Does not load any third party dependencies. If you need an external dependency to be included you should ILMERGE the assemblies together.
Syntax
'Declaration
 
Sub AddAssembly( _
   ByVal assemblyName As System.String, _
   ByVal assemblyFileName As System.String, _
   ByVal description As System.String _
) 
'Usage
 
Dim instance As IVistaDBDatabase
Dim assemblyName As System.String
Dim assemblyFileName As System.String
Dim description As System.String
 
instance.AddAssembly(assemblyName, assemblyFileName, description)
void AddAssembly( 
   System.string assemblyName,
   System.string assemblyFileName,
   System.string description
)
procedure AddAssembly( 
    assemblyName: System.String;
    assemblyFileName: System.String;
    description: System.String
); 
function AddAssembly( 
   assemblyName : System.String,
   assemblyFileName : System.String,
   description : System.String
);
void AddAssembly( 
   System.string* assemblyName,
   System.string* assemblyFileName,
   System.string* description
) 
void AddAssembly( 
   System.String^ assemblyName,
   System.String^ assemblyFileName,
   System.String^ description
) 

Parameters

assemblyName
The assembly name to register in database
assemblyFileName
The full file name containing the assembly
description
User's description
Remarks
If assembly with same name is already registered, an exception raised
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also