次の方法で共有


SqlConnectionInformation Class

Definition

Source SQL Connection

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.SqlConnectionInformationTypeConverter))]
public class SqlConnectionInformation : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.ISqlConnectionInformation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.SqlConnectionInformationTypeConverter))>]
type SqlConnectionInformation = class
    interface ISqlConnectionInformation
    interface IJsonSerializable
Public Class SqlConnectionInformation
Implements ISqlConnectionInformation
Inheritance
SqlConnectionInformation
Attributes
Implements

Constructors

SqlConnectionInformation()

Creates an new SqlConnectionInformation instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SqlConnectionInformation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SqlConnectionInformation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.ISqlConnectionInformation.

FromJsonString(String)

Creates a new instance of SqlConnectionInformation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SqlConnectionInformation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to