-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SqlConnectionInformation.cs
48 lines (43 loc) · 2.13 KB
/
SqlConnectionInformation.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.DataMigration.Models
{
/// <summary> Source SQL Connection. </summary>
public partial class SqlConnectionInformation
{
/// <summary> Initializes a new instance of SqlConnectionInformation. </summary>
public SqlConnectionInformation()
{
}
/// <summary> Initializes a new instance of SqlConnectionInformation. </summary>
/// <param name="dataSource"> Data source. </param>
/// <param name="authentication"> Authentication type. </param>
/// <param name="userName"> User name to connect to source SQL. </param>
/// <param name="password"> Password to connect to source SQL. </param>
/// <param name="encryptConnection"> Whether to encrypt connection or not. </param>
/// <param name="trustServerCertificate"> Whether to trust server certificate or not. </param>
internal SqlConnectionInformation(string dataSource, string authentication, string userName, string password, bool? encryptConnection, bool? trustServerCertificate)
{
DataSource = dataSource;
Authentication = authentication;
UserName = userName;
Password = password;
EncryptConnection = encryptConnection;
TrustServerCertificate = trustServerCertificate;
}
/// <summary> Data source. </summary>
public string DataSource { get; set; }
/// <summary> Authentication type. </summary>
public string Authentication { get; set; }
/// <summary> User name to connect to source SQL. </summary>
public string UserName { get; set; }
/// <summary> Password to connect to source SQL. </summary>
public string Password { get; set; }
/// <summary> Whether to encrypt connection or not. </summary>
public bool? EncryptConnection { get; set; }
/// <summary> Whether to trust server certificate or not. </summary>
public bool? TrustServerCertificate { get; set; }
}
}