IVMVirtualMachine::RemoveScriptFromEvent method
The RemoveScriptFromEvent method detaches a script from an event.
Syntax
HRESULT RemoveScriptFromEvent(
[in] VMEventType eventType
);
Parameters
-
eventType [in]
-
The event type from which the current attached script will be removed.
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 eventType parameter is not valid. |
|
The configuration is unknown. |
|
An unexpected error has occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|