Class AzureSqlDataProviderConfiguration
- Namespace
- combit.Reporting.DataProviders
- Assembly
- combit.ListLabel31.CrossPlatform.SqlConnectionDataProvider.dll
Provides the configuration data for the Azure SQL database
public class AzureSqlDataProviderConfiguration
- Inheritance
-
AzureSqlDataProviderConfiguration
- Inherited Members
Constructors
AzureSqlDataProviderConfiguration(string, string, AzureSqlDataProviderAuthenticationType)
Constructs an instance of the AzureSqlDataProviderConfiguration
public AzureSqlDataProviderConfiguration(string server, string database, AzureSqlDataProviderAuthenticationType authenticationType)
Parameters
serverstringThe server name, e. g. contoso.database.windows.net
databasestringThe database name, e. g. Northwind
authenticationTypeAzureSqlDataProviderAuthenticationTypeThe authentication type, see AzureSqlDataProviderAuthenticationType
Properties
AuthenticationType
The authentication type, see AzureSqlDataProviderAuthenticationType
public AzureSqlDataProviderAuthenticationType AuthenticationType { get; set; }
Property Value
ConnectionStringOverride
Enables to override the automatically generated connection string with a custom one
public string ConnectionStringOverride { get; set; }
Property Value
Database
The database name, e. g. Northwind
public string Database { get; set; }
Property Value
Encrypt
Enable encryption
public bool Encrypt { get; set; }
Property Value
MultipleActiveResultSets
Enable multiple active result sets (MARS)
public bool MultipleActiveResultSets { get; set; }
Property Value
Password
The password if AuthenticationType is set to AzureADIdentity
public string Password { get; set; }
Property Value
Port
The port of the database, default is 1433
public int Port { get; set; }
Property Value
Server
The server name, e. g. contoso.database.windows.net
public string Server { get; set; }
Property Value
TrustServerCertificate
Trust the server's certificate
public bool TrustServerCertificate { get; set; }
Property Value
UserName
The user name if AuthenticationType is set to AzureADIdentity
public string UserName { get; set; }