DB2®ConnectionStringBuilder.Database Property

Gets or sets the value of the database to connect to.

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

Syntax


[Visual Basic]
Public Property Database As String
[C#]
public string Database {get; set;}
[C++]
public: __property String* get_Database();
public: __property void set_Database(String*);
[JScript]
public function get Database() : String;
public function set Database(String);

Property value

A string value representing the database to connect to.

Remarks

This value is not related to any database alias names specified on the client. This value must be set to the name of the database on the server.