Initialization - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

Initialization

This section shows example code to connect an application to the MDS repository.

'////////////////////////////////////////////////////////////////////////////
'
'       Initialize Repository
'
'       Sets up the connection to the repository using the global object
'       Repository
'
'////////////////////////////////////////////////////////////////////////////
Function InitializeRepository () As Boolean
    Set Repository = New MetaActive
    
    Repository.Initialize userName, password
    
    InitializeRepository = True
    Exit Function
End Function