Share via


MSBTS_DeploymentService.Remove Method (WMI)

 

Removes the assembly from the target database.

The syntax shown is language neutral.

Syntax

  
uint32 Remove (string Server, string Database, string Assembly, string Name, string Version, string Culture, string PublicKeyToken, boolean UnInstall, string Log);  

Parameters

Server
Name of the SQL server where the BizTalk Management database is located.

Database
Name of the management SQL database.

Assembly
Pathname to the BizTalk assembly (*.dll) file. If this argument is supplied, you do not need to specify input for the Name, Version, Culture and PublicKeyToken parameters.

Name
Name of the BizTalk assembly. If you specify inputs for the Name, Version, Culture, and PublicKeyToken parameter, you do not need to specify input for the Assembly parameter.

Version
Version of the BizTalk assembly. If you specify inputs for the Name, Version, Culture, and PublicKeyToken parameter, you do not need to specify input for the Assembly parameter.

Culture
Culture of the BizTalk assembly. If you specify inputs for the Name, Version, Culture, and PublicKeyToken parameter, you do not need to specify input for the Assembly parameter.

PublicKeyToken
Public key token of the BizTalk assembly. If you specify inputs for the Name, Version, Culture, and PublicKeyToken parameter, you do not need to specify input for the Assembly parameter.

UnInstall
This parameter is ignored. Whether true or false, the assembly will not be uninstalled from the global assembly cache.

Note

To properly uninstall an assembly from the GAC, refer to How to Uninstall an Assembly from the GAC.

Log
Pathname to the output log file.

Return Value

This method returns an HRESULT indicating whether the method completed successfully.

Requirements

Header: Declared in BTSWMISchema2K.mof or BTSWMISchemaXP.mof.

Namespace: Included in \root\MicrosoftBizTalkServer.