Overview

The following information is intended for advanced users.

The Database object provides access to information about the current database. All the Database properties are read-only; you may not change them.

You may use the Database object in Page Scripts, Static Content property values, and in Custom Page content. You may not use the Database object in Stylesheet scripts such as Theme.sss.

For general instructions on using script statements, see the Script Usage page.

Properties

All of the Database object properties are read-only.

Name

Returns the name of the database.

Memo

Returns the text of the memo associated with the database (TMG v4) or dataset (TMG v5+). In TMG v5+, the database memo is managed via File > Dataset Manager command.

Methods

The Database object has no methods.

Example

If you add the following script statement to the Main Page.Extra Content property, the dataset memo will appear in the Extra Content section:

<%=Database.Memo%>
On This Page