Repository.ConnectToSQLRepository

Connects to a SQL repository.

Method Syntax
=

=

=

=

Parameters
ServerName The server file path for the SQL Repository.

DatabaseName The Database name of the Synthesis Repository to connect.

UseImpersonation The database requires impersonation.

ImpersonateDomain The domain for the impersonation.

ImpersonateUsername The User Name for the impersonation.

ImpersonatePassword The Password for the impersonation.

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName")