xSQL Schema Compare SDK for SQL Server version 12
ConnectionString Property (SqlDatabase)


Gets or sets the dedicated connection string for the database which contains the credentials required to connect to the database. By default the database use the credentials of the parent SQL Server.
Syntax
'Declaration
 
Public Property ConnectionString As System.String
public System.string ConnectionString {get; set;}
public: __property System.string* get_ConnectionString();
public: __property void set_ConnectionString( 
   System.string* value
);
Remarks
Use the method GetConnectionString to retrieve the proper connection string for the database.
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

SqlDatabase Class
SqlDatabase Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback