IVMVirtualServer::RemoveConfigurationValue method
The RemoveConfigurationValue method removes preference data for the current user for the requested key.
Syntax
HRESULT RemoveConfigurationValue(
[in] BSTR preferenceKey
);
Parameters
-
preferenceKey [in]
-
Key used to identify the preference, as stored in the configuration file.
Return value
This method can return one of these values.
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The preferenceKey parameter is NULL. |
|
The preferenceKey parameter is not valid or is an empty string. |
|
The preference was not found. |
|
An unexpected error occurred. |
Remarks
This method provides low-level access to any preference value for the current user. It can be used to remove preference values for customer-defined keys.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|