Compartilhar via


IVMRCClientControl::ServerPort property

The ServerPort property contains TCP port of the VMRC server.

This property is read/write.

Syntax

HRESULT put_ServerPort(
  [in]  long serverPort
);

HRESULT get_ServerPort(
  [out] long *serverPort
);

VB
VMRCClientControl.ServerPort( _
  ByRef serverPort, _
  ByVal serverPort _
)

Property value

The TCP port of the VMRC server.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
S_FALSE
This property cannot be changed at this time.
E_INVALIDARG
The serverPort parameter is NULL or contains a negative value.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VMRCClientControl.h
Library
VMRCClientControl.lib

See also

IVMRCClientControl