IVMVirtualServer::VMRCAdminAddress property
The VMRCAdminAddress property contains the TCP/IP address of the host network adapter over which VMRC connections are accepted.
This property is read/write.
Syntax
HRESULT put_VMRCAdminAddress(
[in] BSTR vmrcAdminAddress
);
HRESULT get_VMRCAdminAddress(
[out] BSTR *vmrcAdminAddress
);
VB |
---|
|
Property value
The TCP/IP address of the host network adapter over which VMRC administration connections are accepted.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The parameter vmrcAdminAddress referenced NULL. |
|
The parameter vmrcAdminAddress is not a valid TCP/IP address for the host. |
|
There is insufficient memory to retrieve the address. |
|
The address could not be retrieved. |
|
An unexpected error occurred. |
Remarks
If this property retrieves a zero-length string, the VMRC connections are accepted from all host network interfaces.
Setting this property to a zero-length string allows VMRC connections to be accepted from all host network interfaces.
Examples
The following example displays the VMRCAdminAddress property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
If objVS.VMRCAdminAddress = "" Then
Wscript.Echo "VMRC admin address: [all]"
Else
Wscript.Echo "VMRC admin address: " & objVS.VMRCAdminAddress
End If
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|