public OleDbDescriptor ( |
||
config | Config to get params from. | |
component | string | Section of the config XML to look in for db params. |
decryptionDelegate | ConnectionInfoDecryptionDelegate | Delegate to call to decrypt password fields. /// May be null if passwords are in plain text. |
리턴 | System |
public OleDbDescriptor(Config config, string component,
ConnectionInfoDecryptionDelegate decryptionDelegate)
: this(GetTypeFromConfig(config, component),
config.GetParameter(component, "Provider", null),
config.GetParameter(component, "Server", null),
config.GetParameterWithSubstitution(component, "Database", true, null),
config.GetParameter(component, "User", null),
GetDecryptedConfigParameter(config, component, "Password", decryptionDelegate),
config.GetParameterAsInt(component, "Connect_Timeout", null))
{
}
OleDbDescriptor::OleDbDescriptor ( DatabaseType type, string server, string database, string user, string password, int timeout ) : System | |
OleDbDescriptor::OleDbDescriptor ( DatabaseType type, string provider, string server, string database, string user, string password, int timeout ) : System | |
OleDbDescriptor::OleDbDescriptor ( string provider, string server, string database, string user, string password, int timeout ) : System |