Chapter 3 DynaScript Predefined Objects


site properties

The site object has this property:

type property

Syntax

site.type 

Attributes

This property is read-only.

Description

Indicates if the site type is of database or dynamic file.

Example

This example displays the type of site that is being used by the sample Dynamo application:

<!--SCRIPT 
document.WriteLn( site.type );
-->

The output from this example is:

database

 


Copyright © 1999 Sybase, Inc. All rights reserved.