Compartir a través de


IVMVirtualServer::VMRCEncryptionEnabled property

The VMRCEncryptionEnabled property contains TRUE if server administration VMRC session data is encrypted using SSL/TLS encryption.

This property is read/write.

Syntax

HRESULT put_VMRCEncryptionEnabled(
  [in]  VARIANT_BOOL shouldEnable
);

HRESULT get_VMRCEncryptionEnabled(
  [out] VARIANT_BOOL *isEnabled
);

VB
VMVirtualServer.VMRCEncryptionEnabled( _
  ByRef isEnabled, _
  ByVal shouldEnable _
)

Property value

Contains vbTrue if the VMRC session data transferred over the network is to be encrypted using SSL/TLS encryption. Otherwise, VMRC session data is transferred without encryption.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The parameter isEnabled is NULL.
E_NOTIMPL
SSL/TLS encryption is not supported in Virtual Server 1.0.
DISP_E_EXCEPTION
An unexpected error occurred.

Remarks

SSL/TLS encryption is not supported in Virtual Server 1.0, attempts to set this property will always return E_NOTIMPL.

Examples

The following example displays the VMRCEncryptionEnabled property value of the VMVirtualServer object.

Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name

Wscript.Echo "VMRC encryption enabled: " & objVS.VMRCEncryptionEnabled

Requirements

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

See also

IVMVirtualServer