IVMVirtualServer::UnregisterVirtualNetwork method
The UnregisterVirtualNetwork method unregisters a virtual network configuration without deleting the configuration file.
Syntax
HRESULT UnregisterVirtualNetwork(
[in] IVMVirtualNetwork *virtualNetwork
);
Parameters
-
virtualNetwork [in]
-
Pointer to a IVMVirtualNetwork object representing the virtual network configuration to unregister.
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 specified configuration could not be found. |
|
The virtualNetwork parameter was NULL. |
|
An unexpected error occurred. |
Remarks
The virtual network's configuration file is not deleted by this method.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|