Compartilhar via


IVMRCClientControl::ViewOnlyMode property

The ViewOnlyMode property indicates whether the client's view-only mode is enabled.

This property is read/write.

Syntax

HRESULT put_ViewOnlyMode(
  [in]  VARIANT_BOOL viewOnlyMode
);

HRESULT get_ViewOnlyMode(
  [out] VARIANT_BOOL *viewOnlyMode
);

VB
VMRCClientControl.ViewOnlyMode( _
  ByRef viewOnlyMode, _
  ByVal viewOnlyMode _
)

Property value

Contains vbTrue if the client's view-only mode is enabled.

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 viewOnlyMode parameter was NULL.

Remarks

When the client's view-only mode is enabled, no user input is sent from the client to the VMRC server.

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