Class SqlServerProviderConnectorOptions
public class SqlServerProviderConnectorOptions : AbstractServiceConnectorOptions
- Inheritance
-
SqlServerProviderConnectorOptions
- Inherited Members
Constructors
SqlServerProviderConnectorOptions()
public SqlServerProviderConnectorOptions()
SqlServerProviderConnectorOptions(IConfiguration)
public SqlServerProviderConnectorOptions(IConfiguration config)
Parameters
config
IConfiguration
Fields
Default_Port
public const int Default_Port = 1433
Field Value
Default_Server
public const string Default_Server = "localhost"
Field Value
Properties
ConnectionString
public string ConnectionString { get; set; }
Property Value
Database
public string Database { get; set; }
Property Value
Db
public string Db { get; set; }
Property Value
InstanceName
public string InstanceName { get; set; }
Property Value
IntegratedSecurity
public string IntegratedSecurity { get; set; }
Property Value
Password
public string Password { get; set; }
Property Value
Port
Gets or sets the port SQL Server is listening on. To exclude from connection string, use a value less than 0
public int Port { get; set; }
Property Value
Pw
public string Pw { get; set; }
Property Value
Server
public string Server { get; set; }
Property Value
Timeout
Gets or sets the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.
public int? Timeout { get; set; }
Property Value
- int?
Remarks
Default value is 15
Uid
public string Uid { get; set; }
Property Value
Uri
public string Uri { get; set; }
Property Value
Username
public string Username { get; set; }
Property Value
Methods
ToString()
public override string ToString()