VirtualBox

Changeset 39821 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 20, 2012 2:01:49 PM (13 years ago)
Author:
vboxsync
Message:

API/GuestProperties: add DeleteGuestProperty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp

    r38735 r39821  
    160160
    161161        if (!pszValue && !pszFlags)
    162             CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName).raw(),
    163                                                        Bstr().raw()));
     162            CHECK_ERROR(machine, DeleteGuestProperty(Bstr(pszName).raw()));
    164163        else if (!pszFlags)
    165164            CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName).raw(),
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette