Class ConnectionUriBuilder
Definition
- Assembly:
- Tizen.Data.Tdbc.dll
Provides a simple way to create and manage the contents of connection uri used by the Connection class.
public class ConnectionUriBuilder : NameValueCollection, ICollection, IEnumerable, IDeserializationCallback, ISerializable
- Inheritance
-
objectSystem.Collections.Specialized.NameObjectCollectionBaseSystem.Collections.Specialized.NameValueCollectionConnectionUriBuilder
- Implements
-
System.Collections.ICollectionSystem.Collections.IEnumerableSystem.Runtime.Serialization.IDeserializationCallbackSystem.Runtime.Serialization.ISerializable
Constructors
View SourceConnectionUriBuilder()
The constructor of ConnectionUriBuilder class.
Declaration
public ConnectionUriBuilder()
Properties
View SourceDriver
Gets or sets name of the driver.
Declaration
public string Driver { get; set; }
Property Value
Type | Description |
---|---|
string |
Host
Gets or sets the host name or IP address of a database server.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string |
this[string]
Gets or sets value of key.
Declaration
public string this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | key |
Property Value
Type | Description |
---|---|
string |
Password
Gets or sets the name of the password of the user.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Port
Gets or sets port number of database server.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
int |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The port number is out of range. |
Uri
Gets the Uri object.
Declaration
public Uri Uri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
UserName
Gets or sets the name of the user that accesses the database.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string |
Implements
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable