dotConnect for PostgreSQL Documentation
InitializationCommand Property
See Also  support@devart.com
Devart.Common Namespace > DbConnectionStringBuilder Class : InitializationCommand Property

Specifies a data source-specific command that should be executed immediately after establishing the connection.

Syntax

Visual Basic (Declaration) 
Public Property InitializationCommand As String
C# 
public string InitializationCommand {get; set;}

Property Value

A data source-specific command that should be executed immediately after establishing the connection.

Remarks

If this command fails, the connection is not established. Devart.Data.PostgreSql.PgSqlConnection throws an exception with the error returned by PostgreSQL.

Requirements

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also