C# Class SQLServerForExcel_Addin.DataConnectionConfiguration

Provide a default implementation for the storage of DataConnection Dialog UI configuration.
Inheritance: IDataConnectionConfiguration
Mostrar archivo Open project: Pietervdw/SQLForExcel Class Usage Examples

Public Methods

Method Description
DataConnectionConfiguration ( string path ) : System

Constructor

GetSelectedProvider ( ) : string
GetSelectedSource ( ) : string
LoadConfiguration ( Microsoft.Data.ConnectionUI.DataConnectionDialog dialog ) : void
SaveConfiguration ( Microsoft.Data.ConnectionUI.DataConnectionDialog dcd ) : void
SaveSelectedProvider ( string provider ) : void
SaveSelectedSource ( string source ) : void

Method Details

DataConnectionConfiguration() public method

Constructor
public DataConnectionConfiguration ( string path ) : System
path string Configuration file path.
return System

GetSelectedProvider() public method

public GetSelectedProvider ( ) : string
return string

GetSelectedSource() public method

public GetSelectedSource ( ) : string
return string

LoadConfiguration() public method

public LoadConfiguration ( Microsoft.Data.ConnectionUI.DataConnectionDialog dialog ) : void
dialog Microsoft.Data.ConnectionUI.DataConnectionDialog
return void

SaveConfiguration() public method

public SaveConfiguration ( Microsoft.Data.ConnectionUI.DataConnectionDialog dcd ) : void
dcd Microsoft.Data.ConnectionUI.DataConnectionDialog
return void

SaveSelectedProvider() public method

public SaveSelectedProvider ( string provider ) : void
provider string
return void

SaveSelectedSource() public method

public SaveSelectedSource ( string source ) : void
source string
return void