ArcGIS Pro 2.7 API Reference Guide
GetDatabaseConnectionProperties Method

ArcGIS.Core.Data Namespace > DatabaseClient Class : GetDatabaseConnectionProperties Method
A valid database connection file.
Gets the DatabaseConnectionProperties corresponding to databaseConnectionFile.
Syntax
public static DatabaseConnectionProperties GetDatabaseConnectionProperties( 
   DatabaseConnectionFile databaseConnectionFile
)
Public Shared Function GetDatabaseConnectionProperties( _
   ByVal databaseConnectionFile As DatabaseConnectionFile _
) As DatabaseConnectionProperties

Parameters

databaseConnectionFile
A valid database connection file.

Return Value

The corresponding DatabaseConnectionProperties.
Exceptions
ExceptionDescription
databaseConnectionFile is null.
The information used to connect to the geodatabase is invalid.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DatabaseClient Class
DatabaseClient Members