Initializes a new instance of the SAConnectionStringBuilder class.
Visual Basic Public Sub New( _ ByVal connectionString As String _ )
C# public SAConnectionStringBuilder( string connectionString );
connectionString The basis for the object's internal connection information. Parsed into keyword=value pairs.
For a list of connection parameters, see Connection parameters.
Restrictions: The SAConnectionStringBuilder class is not available in the .NET Compact Framework 2.0.
The following statement initializes an SAConnection object for a connection to a database named policies running on a SQL Anywhere database server named hr. The connection uses the user ID admin and the password money.
SAConnectionStringBuilder conn = new SAConnectionStringBuilder("UID=admin;PWD=money;ENG=hr;DBN=policies" ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |