Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SAConnectionStringBuilder class

 

SAConnectionStringBuilder members

Public constructors
Member name Description

SAConnectionStringBuilder constructors

Initializes a new instance of the SAConnectionStringBuilder class.

Public properties
Member name Description

AppInfo property

Gets or sets the AppInfo connection property.

AutoStart property

Gets or sets the AutoStart connection property.

AutoStop property

Gets or sets the AutoStop connection property.

[external link] BrowsableConnectionString (inherited from DbConnectionStringBuilder)

Gets or sets a value that indicates whether the [external link] DbConnectionStringBuilder.ConnectionString is visible in Visual Studio designers.

Charset property

Gets or sets the Charset connection property.

CommBufferSize property

Gets or sets the CommBufferSize connection property.

CommLinks property

Gets or sets the CommLinks property.

Compress property

Gets or sets the Compress connection property.

CompressionThreshold property

Gets or sets the CompressionThreshold connection property.

ConnectionLifetime property

Gets or sets the ConnectionLifetime connection property.

ConnectionName property

Gets or sets the ConnectionName connection property.

ConnectionReset property

Gets or sets the ConnectionReset connection property.

[external link] ConnectionString (inherited from DbConnectionStringBuilder)

Gets or sets the connection string associated with the [external link] DbConnectionStringBuilder.

ConnectionTimeout property

Gets or sets the ConnectionTimeout connection property.

[external link] Count (inherited from DbConnectionStringBuilder)

Gets the current number of keys that are contained within the [external link] DbConnectionStringBuilder.ConnectionString.

DataSourceName property

Gets or sets the DataSourceName connection property.

DatabaseFile property

Gets or sets the DatabaseFile connection property.

DatabaseKey property

Gets or sets the DatabaseKey connection property.

DatabaseName property

Gets or sets the DatabaseName connection property.

DatabaseSwitches property

Gets or sets the DatabaseSwitches connection property.

DisableMultiRowFetch property

Gets or sets the DisableMultiRowFetch connection property.

Elevate property

Gets or sets the Elevate connection property.

EncryptedPassword property

Gets or sets the EncryptedPassword connection property.

Encryption property

Gets or sets the Encryption connection property.

Enlist property

Gets or sets the Enlist connection property.

FileDataSourceName property

Gets or sets the FileDataSourceName connection property.

ForceStart property

Gets or sets the ForceStart connection property.

IdleTimeout property

Gets or sets the IdleTimeout connection property.

Integrated property

Gets or sets the Integrated connection property.

[external link] IsFixedSize (inherited from DbConnectionStringBuilder)

Gets a value that indicates whether the [external link] DbConnectionStringBuilder has a fixed size.

[external link] IsReadOnly (inherited from DbConnectionStringBuilder)

Gets a value that indicates whether the [external link] DbConnectionStringBuilder is read-only.

Item property (inherited from SAConnectionStringBuilderBase)

Gets or sets the value of the connection keyword.

Kerberos property

Gets or sets the Kerberos connection property.

Keys property (inherited from SAConnectionStringBuilderBase)

Gets an System.Collections.ICollection that contains the keys in the SAConnectionStringBuilder.

Language property

Gets or sets the Language connection property.

LazyClose property

Gets or sets the LazyClose connection property.

LivenessTimeout property

Gets or sets the LivenessTimeout connection property.

LogFile property

Gets or sets the LogFile connection property.

MaxPoolSize property

Gets or sets the MaxPoolSize connection property.

MinPoolSize property

Gets or sets the MinPoolSize connection property.

NewPassword property

Gets or sets the NewPassword connection property.

Password property

Gets or sets the Password connection property.

PersistSecurityInfo property

Gets or sets the PersistSecurityInfo connection property.

Pooling property

Gets or sets the Pooling connection property.

PrefetchBuffer property

Gets or sets the PrefetchBuffer connection property.

PrefetchRows property

Gets or sets the PrefetchRows connection property. The default value is 200.

RetryConnectionTimeout property

Gets or sets the RetryConnectionTimeout property.

ServerName property

Gets or sets the ServerName connection property.

StartLine property

Gets or sets the StartLine connection property.

Unconditional property

Gets or sets the Unconditional connection property.

UserID property

Gets or sets the UserID connection property.

[external link] Values (inherited from DbConnectionStringBuilder)

Gets an [external link] ICollection that contains the values in the [external link] DbConnectionStringBuilder.

Public methods
Member name Description

[external link] Add (inherited from DbConnectionStringBuilder)

Adds an entry with the specified key and value into the [external link] DbConnectionStringBuilder.

[external link] Clear (inherited from DbConnectionStringBuilder)

Clears the contents of the [external link] DbConnectionStringBuilder instance.

ContainsKey method (inherited from SAConnectionStringBuilderBase)

Determines whether the SAConnectionStringBuilder object contains a specific keyword.

[external link] EquivalentTo (inherited from DbConnectionStringBuilder)

Compares the connection information in this [external link] DbConnectionStringBuilder object with the connection information in the supplied object.

GetKeyword method (inherited from SAConnectionStringBuilderBase)

Gets the keyword for specified SAConnectionStringBuilder property.

GetUseLongNameAsKeyword method (inherited from SAConnectionStringBuilderBase)

Gets a boolean values that indicates whether long connection parameter names are used in the connection string.

Remove method (inherited from SAConnectionStringBuilderBase)

Removes the entry with the specified key from the SAConnectionStringBuilder instance.

SetUseLongNameAsKeyword method (inherited from SAConnectionStringBuilderBase)

Sets a boolean value that indicates whether long connection parameter names are used in the connection string. Long connection parameter names are used by default.

ShouldSerialize method (inherited from SAConnectionStringBuilderBase)

Indicates whether the specified key exists in this SAConnectionStringBuilder instance.

[external link] ToString (inherited from DbConnectionStringBuilder)

Returns the connection string associated with this [external link] DbConnectionStringBuilder.

TryGetValue method (inherited from SAConnectionStringBuilderBase)

Retrieves a value corresponding to the supplied key from this SAConnectionStringBuilder.

See also