xSQL Schema Compare SDK version 9.5 for SQL Server
SqlConnectionManager Constructor


The connection string.
Initializes a new instance of the SqlConnectionManager class with the specified connection string.
Syntax
'Declaration
 
Public Function New( _
   ByVal connString As System.String _
)
public SqlConnectionManager( 
   System.string connString
)
public: SqlConnectionManager( 
   System.string* connString
)

Parameters

connString
The connection string.
Exceptions
ExceptionDescription
System.ArgumentNullException

The connString parameter is null

System.ArgumentException

The connString parameter is an empty string

Remarks
The constructor of the class does not open the SQL Server connection. To open the connection, call the OpenConnection method. To close the connection, call the CloseConnection method.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlConnectionManager Class
SqlConnectionManager Members

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback