Repository.ConnectToSQLRepository

Syntax

 * ConnectToSQLRepository( ServerName, DatabaseName ,   UseImpersonation  = False ,   ImpersonateDomain  = "",   ImpersonateUsername  = "" ,   ImpersonatePassword  = "")

Parameters
 * ServerName: The server file path for the SQL repository.


 * DatabaseName: The database name of the repository.


 * UseImpersonation: Whether 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
Dim MyRepository As New Repository Dim Success As Boolean Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName")