RegistrationHelperTx.InstallAssembly Method

Definition

Installs the named assembly in the COM+ catalog using transactional semantics.

Overloads

InstallAssembly(String, String, String, InstallationFlags, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Installs the named assembly in the COM+ catalog using transactional semantics.

InstallAssembly(String, String, String, String, InstallationFlags, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Installs the named assembly in the COM+ catalog using transactional semantics.

InstallAssembly(String, String, String, InstallationFlags, Object)

Installs the named assembly in the COM+ catalog using transactional semantics.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void InstallAssembly(System::String ^ assembly, System::String ^ % application, System::String ^ % tlb, System::EnterpriseServices::InstallationFlags installFlags, System::Object ^ sync);
public void InstallAssembly (string assembly, ref string application, ref string tlb, System.EnterpriseServices.InstallationFlags installFlags, object sync);
member this.InstallAssembly : string * string * string * System.EnterpriseServices.InstallationFlags * obj -> unit
Public Sub InstallAssembly (assembly As String, ByRef application As String, ByRef tlb As String, installFlags As InstallationFlags, sync As Object)

Parameters

assembly
String

The file name of the assembly to install.

application
String

Either the name of the COM+ application to install into or null.

tlb
String

Either the name of the output Type Library Exporter (Tlbexp.exe) file or null.

installFlags
InstallationFlags

A bitwise combination of the installation flags values.

sync
Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been configured in the COM+ catalog.

Remarks

The InstallAssembly method does not need to be called directly from your code. Instead, call the InstallAssembly method with the same parameters except object sync.

This method requires the caller to have administrative privileges on the local computer.

Applies to

InstallAssembly(String, String, String, String, InstallationFlags, Object)

Installs the named assembly in the COM+ catalog using transactional semantics.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void InstallAssembly(System::String ^ assembly, System::String ^ % application, System::String ^ partition, System::String ^ % tlb, System::EnterpriseServices::InstallationFlags installFlags, System::Object ^ sync);
public void InstallAssembly (string assembly, ref string application, string partition, ref string tlb, System.EnterpriseServices.InstallationFlags installFlags, object sync);
member this.InstallAssembly : string * string * string * string * System.EnterpriseServices.InstallationFlags * obj -> unit
Public Sub InstallAssembly (assembly As String, ByRef application As String, partition As String, ByRef tlb As String, installFlags As InstallationFlags, sync As Object)

Parameters

assembly
String

The file name of the assembly to install.

application
String

Either the name of the COM+ application to install into or a string that contains null.

partition
String

Either the name of the partition or null.

tlb
String

Either the name of the output Type Library Exporter (Tlbexp.exe) file or null.

installFlags
InstallationFlags

A bitwise combination of the installation flags values.

sync
Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been configured in the COM+ catalog.

Remarks

The InstallAssembly method does not need to be called directly from your code. Instead, call the InstallAssembly method with the same parameters except object sync.

This method requires the caller to have administrative privileges on the local computer.

Applies to