

Deployment Tools Foundation
CodePage Property
Gets or sets the code page of the Database.

C# | Visual Basic | Visual C++ |
public int CodePage { get; set; }
Public Property CodePage As Integer Get Set
public: property int CodePage { int get (); void set (int value); }


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.

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.9.1006.0)