Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VMRCIdleConnectionTimeout property contains the time in seconds after which idle VMRC connections are disconnected.
This property is read/write.
Syntax
HRESULT put_VMRCIdleConnectionTimeout(
[in] long idleTimeout
);
HRESULT get_VMRCIdleConnectionTimeout(
[out] long *idleTimeout
);
VB |
---|
|
Property value
The time in seconds after which idle VMRC connections will be disconnected.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The idleTimeout parameter is NULL. |
|
The idleTimeout parameter is not in the valid range of times. |
|
An unexpected error occurred. |
Remarks
The VMRC connection idle timeout is specified in seconds, and must be within the range of 1 second to 24 hours (86400 seconds).
Examples
The following example displays the VMRCIdleConnectionTimeout property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Wscript.Echo "VMRC idle connection timeout: " & _
objVS.VMRCIdleConnectionTimeout
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|