IVMVirtualServer::VMRCEnabled property
The VMRCEnabled property enables or disables server administration using Virtual Machine Remote Control (VMRC).
This property is read/write.
Syntax
HRESULT put_VMRCEnabled(
[in] VARIANT_BOOL shouldEnable
);
HRESULT get_VMRCEnabled(
[out] VARIANT_BOOL *isEnabled
);
VB |
---|
|
Property value
Contains vbTrue if server administration using VMRC is enabled, vbFalse otherwise.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The parameter isEnabled referenced NULL. |
|
An unexpected error occurred. |
Remarks
The VMRCEnabled property contains TRUE if server administration using Virtual Machine Remote Control (VMRC) is enabled.
Examples
The following example displays the VMRCEnabled property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Wscript.Echo "VMRC enabled: " & objVS.VMRCEnabled
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|