You can use the CodeData property to access the CodeData object and its related collections.
Setting
The CodeData property is available only by using Visual Basic and is read-only.
Remarks
Use the CodeData property to refer to one of the following code database collections together with one of its properties or methods.
AllTables | AllQueries |
AllViews | AllStoredProcedures |
AllDatabaseDiagrams |