SqlServerLinkedService Class

public class SqlServerLinkedService
extends LinkedService

SQL Server linked service.

Constructor Summary

Constructor Description
SqlServerLinkedService()

Creates an instance of SqlServerLinkedService class.

Method Summary

Modifier and Type Method and Description
static SqlServerLinkedService fromJson(JsonReader jsonReader)

Reads an instance of SqlServerLinkedService from the JsonReader.

SqlAlwaysEncryptedProperties getAlwaysEncryptedSettings()

Get the alwaysEncryptedSettings property: Sql always encrypted properties.

Object getApplicationIntent()

Get the applicationIntent property: The application workload type when connecting to a server, used by recommended version.

SqlServerAuthenticationType getAuthenticationType()

Get the authenticationType property: The type used for authentication.

Object getCommandTimeout()

Get the commandTimeout property: The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version.

Object getConnectionString()

Get the connectionString property: The connection string.

Object getConnectRetryCount()

Get the connectRetryCount property: The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version.

Object getConnectRetryInterval()

Get the connectRetryInterval property: The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version.

Object getConnectTimeout()

Get the connectTimeout property: The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version.

CredentialReference getCredential()

Get the credential property: The credential reference containing authentication information.

Object getDatabase()

Get the database property: The name of the database, used by recommended version.

Object getEncrypt()

Get the encrypt property: Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version.

Object getEncryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication.

Object getFailoverPartner()

Get the failoverPartner property: The name or address of the partner server to connect to if the primary server is down, used by recommended version.

Object getHostNameInCertificate()

Get the hostNameInCertificate property: The host name to use when validating the server certificate for the connection.

Object getIntegratedSecurity()

Get the integratedSecurity property: Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version.

Object getLoadBalanceTimeout()

Get the loadBalanceTimeout property: The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version.

Object getMaxPoolSize()

Get the maxPoolSize property: The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version.

Object getMinPoolSize()

Get the minPoolSize property: The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version.

Object getMultipleActiveResultSets()

Get the multipleActiveResultSets property: When true, an application can maintain multiple active result sets (MARS).

Object getMultiSubnetFailover()

Get the multiSubnetFailover property: If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version.

Object getPacketSize()

Get the packetSize property: The size in bytes of the network packets used to communicate with an instance of server, used by recommended version.

SecretBase getPassword()

Get the password property: The on-premises Windows authentication password.

Object getPooling()

Get the pooling property: Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version.

Object getServer()

Get the server property: The name or network address of the instance of SQL Server to which to connect, used by recommended version.

Object getTrustServerCertificate()

Get the trustServerCertificate property: Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version.

String getType()

Get the type property: Type of linked service.

Object getUserName()

Get the userName property: The on-premises Windows authentication user name.

SqlServerLinkedService setAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)

Set the alwaysEncryptedSettings property: Sql always encrypted properties.

SqlServerLinkedService setAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

SqlServerLinkedService setApplicationIntent(Object applicationIntent)

Set the applicationIntent property: The application workload type when connecting to a server, used by recommended version.

SqlServerLinkedService setAuthenticationType(SqlServerAuthenticationType authenticationType)

Set the authenticationType property: The type used for authentication.

SqlServerLinkedService setCommandTimeout(Object commandTimeout)

Set the commandTimeout property: The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version.

SqlServerLinkedService setConnectionString(Object connectionString)

Set the connectionString property: The connection string.

SqlServerLinkedService setConnectRetryCount(Object connectRetryCount)

Set the connectRetryCount property: The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version.

SqlServerLinkedService setConnectRetryInterval(Object connectRetryInterval)

Set the connectRetryInterval property: The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version.

SqlServerLinkedService setConnectTimeout(Object connectTimeout)

Set the connectTimeout property: The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version.

SqlServerLinkedService setConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

SqlServerLinkedService setCredential(CredentialReference credential)

Set the credential property: The credential reference containing authentication information.

SqlServerLinkedService setDatabase(Object database)

Set the database property: The name of the database, used by recommended version.

SqlServerLinkedService setDescription(String description)

Set the description property: Linked service description.

SqlServerLinkedService setEncrypt(Object encrypt)

Set the encrypt property: Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version.

SqlServerLinkedService setEncryptedCredential(Object encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication.

SqlServerLinkedService setFailoverPartner(Object failoverPartner)

Set the failoverPartner property: The name or address of the partner server to connect to if the primary server is down, used by recommended version.

SqlServerLinkedService setHostNameInCertificate(Object hostNameInCertificate)

Set the hostNameInCertificate property: The host name to use when validating the server certificate for the connection.

SqlServerLinkedService setIntegratedSecurity(Object integratedSecurity)

Set the integratedSecurity property: Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version.

SqlServerLinkedService setLoadBalanceTimeout(Object loadBalanceTimeout)

Set the loadBalanceTimeout property: The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version.

SqlServerLinkedService setMaxPoolSize(Object maxPoolSize)

Set the maxPoolSize property: The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version.

SqlServerLinkedService setMinPoolSize(Object minPoolSize)

Set the minPoolSize property: The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version.

SqlServerLinkedService setMultipleActiveResultSets(Object multipleActiveResultSets)

Set the multipleActiveResultSets property: When true, an application can maintain multiple active result sets (MARS).

SqlServerLinkedService setMultiSubnetFailover(Object multiSubnetFailover)

Set the multiSubnetFailover property: If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version.

SqlServerLinkedService setPacketSize(Object packetSize)

Set the packetSize property: The size in bytes of the network packets used to communicate with an instance of server, used by recommended version.

SqlServerLinkedService setParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

SqlServerLinkedService setPassword(SecretBase password)

Set the password property: The on-premises Windows authentication password.

SqlServerLinkedService setPooling(Object pooling)

Set the pooling property: Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version.

SqlServerLinkedService setServer(Object server)

Set the server property: The name or network address of the instance of SQL Server to which to connect, used by recommended version.

SqlServerLinkedService setTrustServerCertificate(Object trustServerCertificate)

Set the trustServerCertificate property: Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version.

SqlServerLinkedService setUserName(Object userName)

Set the userName property: The on-premises Windows authentication user name.

SqlServerLinkedService setVersion(String version)

Set the version property: Version of the linked service.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from LinkedService

Methods inherited from java.lang.Object

Constructor Details

SqlServerLinkedService

public SqlServerLinkedService()

Creates an instance of SqlServerLinkedService class.

Method Details

fromJson

public static SqlServerLinkedService fromJson(JsonReader jsonReader)

Reads an instance of SqlServerLinkedService from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlServerLinkedService if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlServerLinkedService.

getAlwaysEncryptedSettings

public SqlAlwaysEncryptedProperties getAlwaysEncryptedSettings()

Get the alwaysEncryptedSettings property: Sql always encrypted properties.

Returns:

the alwaysEncryptedSettings value.

getApplicationIntent

public Object getApplicationIntent()

Get the applicationIntent property: The application workload type when connecting to a server, used by recommended version. Possible values are ReadOnly and ReadWrite. Type: string (or Expression with resultType string).

Returns:

the applicationIntent value.

getAuthenticationType

public SqlServerAuthenticationType getAuthenticationType()

Get the authenticationType property: The type used for authentication. Type: string.

Returns:

the authenticationType value.

getCommandTimeout

public Object getCommandTimeout()

Get the commandTimeout property: The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the commandTimeout value.

getConnectionString

public Object getConnectionString()

Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.

Returns:

the connectionString value.

getConnectRetryCount

public Object getConnectRetryCount()

Get the connectRetryCount property: The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 0 and 255. Type: integer (or Expression with resultType integer).

Returns:

the connectRetryCount value.

getConnectRetryInterval

public Object getConnectRetryInterval()

Get the connectRetryInterval property: The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 1 and 60. Type: integer (or Expression with resultType integer).

Returns:

the connectRetryInterval value.

getConnectTimeout

public Object getConnectTimeout()

Get the connectTimeout property: The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the connectTimeout value.

getCredential

public CredentialReference getCredential()

Get the credential property: The credential reference containing authentication information.

Returns:

the credential value.

getDatabase

public Object getDatabase()

Get the database property: The name of the database, used by recommended version. Type: string (or Expression with resultType string).

Returns:

the database value.

getEncrypt

public Object getEncrypt()

Get the encrypt property: Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version. Possible values are true/yes/mandatory, false/no/optional and strict. Type: string (or Expression with resultType string).

Returns:

the encrypt value.

getEncryptedCredential

public Object getEncryptedCredential()

Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Returns:

the encryptedCredential value.

getFailoverPartner

public Object getFailoverPartner()

Get the failoverPartner property: The name or address of the partner server to connect to if the primary server is down, used by recommended version. Type: string (or Expression with resultType string).

Returns:

the failoverPartner value.

getHostNameInCertificate

public Object getHostNameInCertificate()

Get the hostNameInCertificate property: The host name to use when validating the server certificate for the connection. When not specified, the server name from the Data Source is used for certificate validation, used by recommended version. Type: string (or Expression with resultType string).

Returns:

the hostNameInCertificate value.

getIntegratedSecurity

public Object getIntegratedSecurity()

Get the integratedSecurity property: Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version. Type: Boolean (or Expression with resultType boolean).

Returns:

the integratedSecurity value.

getLoadBalanceTimeout

public Object getLoadBalanceTimeout()

Get the loadBalanceTimeout property: The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the loadBalanceTimeout value.

getMaxPoolSize

public Object getMaxPoolSize()

Get the maxPoolSize property: The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the maxPoolSize value.

getMinPoolSize

public Object getMinPoolSize()

Get the minPoolSize property: The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the minPoolSize value.

getMultipleActiveResultSets

public Object getMultipleActiveResultSets()

Get the multipleActiveResultSets property: When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection. Type: Boolean (or Expression with resultType boolean).

Returns:

the multipleActiveResultSets value.

getMultiSubnetFailover

public Object getMultiSubnetFailover()

Get the multiSubnetFailover property: If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Returns:

the multiSubnetFailover value.

getPacketSize

public Object getPacketSize()

Get the packetSize property: The size in bytes of the network packets used to communicate with an instance of server, used by recommended version. Type: integer (or Expression with resultType integer).

Returns:

the packetSize value.

getPassword

public SecretBase getPassword()

Get the password property: The on-premises Windows authentication password.

Returns:

the password value.

getPooling

public Object getPooling()

Get the pooling property: Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Returns:

the pooling value.

getServer

public Object getServer()

Get the server property: The name or network address of the instance of SQL Server to which to connect, used by recommended version. Type: string (or Expression with resultType string).

Returns:

the server value.

getTrustServerCertificate

public Object getTrustServerCertificate()

Get the trustServerCertificate property: Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Returns:

the trustServerCertificate value.

getType

public String getType()

Get the type property: Type of linked service.

Overrides:

SqlServerLinkedService.getType()

Returns:

the type value.

getUserName

public Object getUserName()

Get the userName property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).

Returns:

the userName value.

setAlwaysEncryptedSettings

public SqlServerLinkedService setAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)

Set the alwaysEncryptedSettings property: Sql always encrypted properties.

Parameters:

alwaysEncryptedSettings - the alwaysEncryptedSettings value to set.

Returns:

the SqlServerLinkedService object itself.

setAnnotations

public SqlServerLinkedService setAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

Overrides:

SqlServerLinkedService.setAnnotations(List<Object> annotations)

Parameters:

annotations

setApplicationIntent

public SqlServerLinkedService setApplicationIntent(Object applicationIntent)

Set the applicationIntent property: The application workload type when connecting to a server, used by recommended version. Possible values are ReadOnly and ReadWrite. Type: string (or Expression with resultType string).

Parameters:

applicationIntent - the applicationIntent value to set.

Returns:

the SqlServerLinkedService object itself.

setAuthenticationType

public SqlServerLinkedService setAuthenticationType(SqlServerAuthenticationType authenticationType)

Set the authenticationType property: The type used for authentication. Type: string.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the SqlServerLinkedService object itself.

setCommandTimeout

public SqlServerLinkedService setCommandTimeout(Object commandTimeout)

Set the commandTimeout property: The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

commandTimeout - the commandTimeout value to set.

Returns:

the SqlServerLinkedService object itself.

setConnectionString

public SqlServerLinkedService setConnectionString(Object connectionString)

Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.

Parameters:

connectionString - the connectionString value to set.

Returns:

the SqlServerLinkedService object itself.

setConnectRetryCount

public SqlServerLinkedService setConnectRetryCount(Object connectRetryCount)

Set the connectRetryCount property: The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 0 and 255. Type: integer (or Expression with resultType integer).

Parameters:

connectRetryCount - the connectRetryCount value to set.

Returns:

the SqlServerLinkedService object itself.

setConnectRetryInterval

public SqlServerLinkedService setConnectRetryInterval(Object connectRetryInterval)

Set the connectRetryInterval property: The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 1 and 60. Type: integer (or Expression with resultType integer).

Parameters:

connectRetryInterval - the connectRetryInterval value to set.

Returns:

the SqlServerLinkedService object itself.

setConnectTimeout

public SqlServerLinkedService setConnectTimeout(Object connectTimeout)

Set the connectTimeout property: The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

connectTimeout - the connectTimeout value to set.

Returns:

the SqlServerLinkedService object itself.

setConnectVia

public SqlServerLinkedService setConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

Overrides:

SqlServerLinkedService.setConnectVia(IntegrationRuntimeReference connectVia)

Parameters:

connectVia

setCredential

public SqlServerLinkedService setCredential(CredentialReference credential)

Set the credential property: The credential reference containing authentication information.

Parameters:

credential - the credential value to set.

Returns:

the SqlServerLinkedService object itself.

setDatabase

public SqlServerLinkedService setDatabase(Object database)

Set the database property: The name of the database, used by recommended version. Type: string (or Expression with resultType string).

Parameters:

database - the database value to set.

Returns:

the SqlServerLinkedService object itself.

setDescription

public SqlServerLinkedService setDescription(String description)

Set the description property: Linked service description.

Overrides:

SqlServerLinkedService.setDescription(String description)

Parameters:

description

setEncrypt

public SqlServerLinkedService setEncrypt(Object encrypt)

Set the encrypt property: Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version. Possible values are true/yes/mandatory, false/no/optional and strict. Type: string (or Expression with resultType string).

Parameters:

encrypt - the encrypt value to set.

Returns:

the SqlServerLinkedService object itself.

setEncryptedCredential

public SqlServerLinkedService setEncryptedCredential(Object encryptedCredential)

Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Parameters:

encryptedCredential - the encryptedCredential value to set.

Returns:

the SqlServerLinkedService object itself.

setFailoverPartner

public SqlServerLinkedService setFailoverPartner(Object failoverPartner)

Set the failoverPartner property: The name or address of the partner server to connect to if the primary server is down, used by recommended version. Type: string (or Expression with resultType string).

Parameters:

failoverPartner - the failoverPartner value to set.

Returns:

the SqlServerLinkedService object itself.

setHostNameInCertificate

public SqlServerLinkedService setHostNameInCertificate(Object hostNameInCertificate)

Set the hostNameInCertificate property: The host name to use when validating the server certificate for the connection. When not specified, the server name from the Data Source is used for certificate validation, used by recommended version. Type: string (or Expression with resultType string).

Parameters:

hostNameInCertificate - the hostNameInCertificate value to set.

Returns:

the SqlServerLinkedService object itself.

setIntegratedSecurity

public SqlServerLinkedService setIntegratedSecurity(Object integratedSecurity)

Set the integratedSecurity property: Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version. Type: Boolean (or Expression with resultType boolean).

Parameters:

integratedSecurity - the integratedSecurity value to set.

Returns:

the SqlServerLinkedService object itself.

setLoadBalanceTimeout

public SqlServerLinkedService setLoadBalanceTimeout(Object loadBalanceTimeout)

Set the loadBalanceTimeout property: The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

loadBalanceTimeout - the loadBalanceTimeout value to set.

Returns:

the SqlServerLinkedService object itself.

setMaxPoolSize

public SqlServerLinkedService setMaxPoolSize(Object maxPoolSize)

Set the maxPoolSize property: The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

maxPoolSize - the maxPoolSize value to set.

Returns:

the SqlServerLinkedService object itself.

setMinPoolSize

public SqlServerLinkedService setMinPoolSize(Object minPoolSize)

Set the minPoolSize property: The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

minPoolSize - the minPoolSize value to set.

Returns:

the SqlServerLinkedService object itself.

setMultipleActiveResultSets

public SqlServerLinkedService setMultipleActiveResultSets(Object multipleActiveResultSets)

Set the multipleActiveResultSets property: When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection. Type: Boolean (or Expression with resultType boolean).

Parameters:

multipleActiveResultSets - the multipleActiveResultSets value to set.

Returns:

the SqlServerLinkedService object itself.

setMultiSubnetFailover

public SqlServerLinkedService setMultiSubnetFailover(Object multiSubnetFailover)

Set the multiSubnetFailover property: If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Parameters:

multiSubnetFailover - the multiSubnetFailover value to set.

Returns:

the SqlServerLinkedService object itself.

setPacketSize

public SqlServerLinkedService setPacketSize(Object packetSize)

Set the packetSize property: The size in bytes of the network packets used to communicate with an instance of server, used by recommended version. Type: integer (or Expression with resultType integer).

Parameters:

packetSize - the packetSize value to set.

Returns:

the SqlServerLinkedService object itself.

setParameters

public SqlServerLinkedService setParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

Overrides:

SqlServerLinkedService.setParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

setPassword

public SqlServerLinkedService setPassword(SecretBase password)

Set the password property: The on-premises Windows authentication password.

Parameters:

password - the password value to set.

Returns:

the SqlServerLinkedService object itself.

setPooling

public SqlServerLinkedService setPooling(Object pooling)

Set the pooling property: Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Parameters:

pooling - the pooling value to set.

Returns:

the SqlServerLinkedService object itself.

setServer

public SqlServerLinkedService setServer(Object server)

Set the server property: The name or network address of the instance of SQL Server to which to connect, used by recommended version. Type: string (or Expression with resultType string).

Parameters:

server - the server value to set.

Returns:

the SqlServerLinkedService object itself.

setTrustServerCertificate

public SqlServerLinkedService setTrustServerCertificate(Object trustServerCertificate)

Set the trustServerCertificate property: Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version. Type: Boolean (or Expression with resultType boolean).

Parameters:

trustServerCertificate - the trustServerCertificate value to set.

Returns:

the SqlServerLinkedService object itself.

setUserName

public SqlServerLinkedService setUserName(Object userName)

Set the userName property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).

Parameters:

userName - the userName value to set.

Returns:

the SqlServerLinkedService object itself.

setVersion

public SqlServerLinkedService setVersion(String version)

Set the version property: Version of the linked service.

Overrides:

SqlServerLinkedService.setVersion(String version)

Parameters:

version

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlServerLinkedService.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to