SqlConnectionInformation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Source SQL Connection.
public class SqlConnectionInformation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation>
type SqlConnectionInformation = class
interface IJsonModel<SqlConnectionInformation>
interface IPersistableModel<SqlConnectionInformation>
Public Class SqlConnectionInformation
Implements IJsonModel(Of SqlConnectionInformation), IPersistableModel(Of SqlConnectionInformation)
- Inheritance
-
SqlConnectionInformation
- Implements
Constructors
SqlConnectionInformation() |
Initializes a new instance of SqlConnectionInformation. |
Properties
Authentication |
Authentication type. |
DataSource |
Data source. |
EncryptConnection |
Whether to encrypt connection or not. |
Password |
Password to connect to source SQL. |
TrustServerCertificate |
Whether to trust server certificate or not. |
UserName |
User name to connect to source SQL. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SqlConnectionInformation>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SqlConnectionInformation>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SqlConnectionInformation>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SqlConnectionInformation>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SqlConnectionInformation>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |