次の方法で共有


MessageQueueInstaller.UninstallAction プロパティ

アンインストールするときにインストーラがキューに対して実行する操作を示す値を取得または設定します。実行できる操作には、削除、インストール前の状態への復元、現在のインストールされた状態の維持があります。

Public Property UninstallAction As UninstallAction
[C#]
public UninstallAction UninstallAction {get; set;}
[C++]
public: __property UninstallAction get_UninstallAction();public: __property void set_UninstallAction(UninstallAction);
[JScript]
public function get UninstallAction() : UninstallAction;public function set UninstallAction(UninstallAction);

プロパティ値

MessageQueue がアンインストールされるときにキューをどの状態にするか示す UninstallAction 値のいずれか。既定値は Remove です。

解説

キューをインストールするときに、既存のキューを使用することもできます。その場合は、キューをインストール前の状態に戻すか、現在のインストール後の状態のままにするかを決定します。キューをインストール前の状態に戻す場合、インストール時にキューから削除されたメッセージは復元されません。インストール前の値にリセットできるのは、 MessageQueueInstaller に関連付けられたキュー プロパティだけです。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

MessageQueueInstaller クラス | MessageQueueInstaller メンバ | System.Messaging 名前空間 | UninstallAction