System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueueInstaller Class / UninstallAction Property



In This Topic
    UninstallAction Property
    In This Topic
    Gets or sets a value that indicates what the installer does with the queue at uninstall time: remove it, restore it to its pre-installation state, or leave it in its current installed state.
    Syntax
    'Declaration
     
    
    Public Property UninstallAction As UninstallAction
    'Usage
     
    
    Dim instance As MessageQueueInstaller
    Dim value As UninstallAction
     
    instance.UninstallAction = value
     
    value = instance.UninstallAction
    public UninstallAction UninstallAction {get; set;}
    public:
    property UninstallAction UninstallAction {
       UninstallAction get();
       void set (    UninstallAction value);
    }

    Property Value

    One of the System.Configuration.Install.UninstallAction values that indicates what state to leave the queue in when the MessageQueue is uninstalled. The default is Remove.
    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