IAspNetManagementUtility.RegisterAsnetMmcAssembly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the ASP.NET snap-in with the Microsoft Management Console (MMC).
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void RegisterAsnetMmcAssembly(int doReg, System::String ^ assemblyName, System::String ^ binaryDirectory, [Runtime::InteropServices::Out] IntPtr % exception);
public void RegisterAsnetMmcAssembly (int doReg, string assemblyName, string binaryDirectory, out IntPtr exception);
abstract member RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
Public Sub RegisterAsnetMmcAssembly (doReg As Integer, assemblyName As String, binaryDirectory As String, ByRef exception As IntPtr)
Parameters
- doReg
- Int32
A value of 1 to register or a value of 0 to unregister the assembly.
- assemblyName
- String
The name of the assembly to register.
- binaryDirectory
- String
The directory containing the assembly.
- exception
-
IntPtr
nativeint
A pointer to any exception thrown during registration.
Remarks
For more information about programming with the IAspNetManagementUtility interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.