Compartilhar via


IVMVirtualServer::Locale property

The Locale property sets the user interface locale of the Virtual Server service.

This property is write-only.

Syntax

HRESULT put_Locale(
  [in] ULONG inLocale
);

VB
VMVirtualServer.Locale( _
  ByVal inLocale _
)

Property value

The desired Windows locale ID to use for the Virtual Server service.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_FAIL
The locale specified by the inLocale parameter is not supported by the Virtual Server service.
DISP_E_EXCEPTION
An unexpected error occurred.

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

DefaultLocale

QueryLocale