C# Class NuCmd.Commands.Db.SqlConnectionInfo

Mostrar archivo Open project: NuGet/NuGet.Operations Class Usage Examples

Public Methods

Method Description
Connect ( ) : Task
Connect ( string alternateDatabase ) : Task
GetServerName ( ) : string
SqlConnectionInfo ( System.Data.SqlClient.SqlConnectionStringBuilder connectionString, System.Data.SqlClient.SqlCredential credential ) : System

Private Methods

Method Description
ConnectCore ( System.Data.SqlClient.SqlConnectionStringBuilder connStr ) : Task

Method Details

Connect() public method

public Connect ( ) : Task
return Task

Connect() public method

public Connect ( string alternateDatabase ) : Task
alternateDatabase string
return Task

GetServerName() public method

public GetServerName ( ) : string
return string

SqlConnectionInfo() public method

public SqlConnectionInfo ( System.Data.SqlClient.SqlConnectionStringBuilder connectionString, System.Data.SqlClient.SqlCredential credential ) : System
connectionString System.Data.SqlClient.SqlConnectionStringBuilder
credential System.Data.SqlClient.SqlCredential
return System