Share via


PostgreSqlV2LinkedService Constructor

Definition

Initializes a new instance of PostgreSqlV2LinkedService.

public PostgreSqlV2LinkedService (Azure.Core.Expressions.DataFactory.DataFactoryElement<string> server, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> username, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> database, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> authenticationType, Azure.Core.Expressions.DataFactory.DataFactoryElement<int> sslMode);
new Azure.ResourceManager.DataFactory.Models.PostgreSqlV2LinkedService : Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<int> -> Azure.ResourceManager.DataFactory.Models.PostgreSqlV2LinkedService
Public Sub New (server As DataFactoryElement(Of String), username As DataFactoryElement(Of String), database As DataFactoryElement(Of String), authenticationType As DataFactoryElement(Of String), sslMode As DataFactoryElement(Of Integer))

Parameters

server
DataFactoryElement<String>

Server name for connection. Type: string.

username
DataFactoryElement<String>

Username for authentication. Type: string.

database
DataFactoryElement<String>

Database name for connection. Type: string.

authenticationType
DataFactoryElement<String>

The authentication type to use. Type: string.

sslMode
DataFactoryElement<Int32>

SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.

Exceptions

server, username, database, authenticationType or sslMode is null.

Applies to