CodePage Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation CodePage Property
Gets or sets the code page of the Database.
Declaration Syntax
C# Visual Basic Visual C++ F#
public int CodePage { get; set; }
Public Property CodePage As Integer
	Get
	Set
public:
property int CodePage {
	int get ();
	void set (int value);
}
member CodePage : int with get, set
Property Value
Remarks

Getting or setting the code page is a slow operation because it involves an export or import of the codepage data to/from a temporary file.

Exceptions
Exception Condition
IOException error exporting/importing the codepage data
InvalidHandleException the Database handle is invalid

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)