Share via


DataMigrationSqlConnectionInformation Class

Definition

Source SQL Connection.

public class DataMigrationSqlConnectionInformation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInformation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInformation>
type DataMigrationSqlConnectionInformation = class
    interface IJsonModel<DataMigrationSqlConnectionInformation>
    interface IPersistableModel<DataMigrationSqlConnectionInformation>
Public Class DataMigrationSqlConnectionInformation
Implements IJsonModel(Of DataMigrationSqlConnectionInformation), IPersistableModel(Of DataMigrationSqlConnectionInformation)
Inheritance
DataMigrationSqlConnectionInformation
Implements

Constructors

DataMigrationSqlConnectionInformation()

Initializes a new instance of DataMigrationSqlConnectionInformation.

Properties

Authentication

Authentication type.

DataSource

Data source.

Password

Password to connect to source SQL.

ShouldEncryptConnection

Whether to encrypt connection or not.

ShouldTrustServerCertificate

Whether to trust server certificate or not.

UserName

User name to connect to source SQL.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationSqlConnectionInformation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataMigrationSqlConnectionInformation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationSqlConnectionInformation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationSqlConnectionInformation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataMigrationSqlConnectionInformation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to