Table of Contents

Class SqlServerProviderConnectorOptions

Namespace
Steeltoe.Connector.SqlServer
Assembly
Steeltoe.Connector.ConnectorBase.dll
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

int

Default_Server

public const string Default_Server = "localhost"

Field Value

string

Properties

ConnectionString

public string ConnectionString { get; set; }

Property Value

string

Database

public string Database { get; set; }

Property Value

string

Db

public string Db { get; set; }

Property Value

string

InstanceName

public string InstanceName { get; set; }

Property Value

string

IntegratedSecurity

public string IntegratedSecurity { get; set; }

Property Value

string

Password

public string Password { get; set; }

Property Value

string

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

int

Pw

public string Pw { get; set; }

Property Value

string

Server

public string Server { get; set; }

Property Value

string

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

string

Uri

public string Uri { get; set; }

Property Value

string

Username

public string Username { get; set; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string