Udostępnij za pośrednictwem


SqlConnectionInfo Class

Definition

Information for connecting to SQL database server.

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

Constructors

SqlConnectionInfo(String)

Initializes a new instance of SqlConnectionInfo.

Properties

AdditionalSettings

Additional connection settings.

Authentication

Authentication type to use for connection.

DataSource

Data source in the format Protocol:MachineName\SQLServerInstanceName,PortNumber.

EncryptConnection

Whether to encrypt the connection.

Password

Password credential.

(Inherited from ConnectionInfo)
Platform

Server platform type for connection.

Port

Port for Server.

ResourceId

Represents the ID of an HTTP resource represented by an Azure resource provider.

ServerBrandVersion

server brand version.

ServerName

name of the server.

ServerVersion

server version.

TrustServerCertificate

Whether to trust the server certificate.

UserName

User name.

(Inherited from ConnectionInfo)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ConnectionInfo)
IJsonModel<ConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConnectionInfo)
IJsonModel<SqlConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ConnectionInfo)
IPersistableModel<ConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ConnectionInfo)
IPersistableModel<ConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ConnectionInfo)
IPersistableModel<SqlConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to