Back to Devexpress

MSSqlConnectionProvider.GetConnectionStringWithAttach Method

xpo-devexpress-dot-xpo-dot-db-dot-mssqlconnectionprovider-dot-getconnectionstringwithattach.md

latest995 B
Original Source

MSSqlConnectionProvider.GetConnectionStringWithAttach Method

NameParametersDescription
GetConnectionStringWithAttach(String, String, Boolean) staticserver, attachDbFilename, userInstanceReturns a connection string to connect to a Microsoft SQL Server database by attaching a specified .mdf database file to a specific server using Windows Integrated Security.
GetConnectionStringWithAttach(String, String, String, String, Boolean) staticserver, userId, password, attachDbFilename, userInstanceReturns a connection string to connect to a Microsoft SQL Server database by attaching a specified .mdf database file to a specific server using specified login credentials.