DB2®ConnectionStringBuilder.CodePage Property

The CodePage property gets or sets the current Encoding's code page identifier. It is a read/write property that allows users to specify how strings are encoded in their applications.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Property CodePage As Int
[C#]
public string CodePage {get; set;}
[C++]
public: __property int* get_CodePage();
public: __property void set_CodePage(int*);
[JScript]
public function get CodePage() : int;
public function set CodePage(int);

Property value

The code page used in the application. The default value is 0

Data server restrictions

There are no restrictions for this property.