Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.GetProperty

Gets a property value from the currently loaded Content Server property files.

The GetProperty method provides the same functionality as the
<CSVAR NAME="CS.Property.PROPERTY_NAME"/> command in XML.

There are two variants of this method:


ICS.GetProperty

Gets a property value from the currently loaded Content Server property files.

Syntax

Parameters

name
The name of the property to get.

Description

The GetProperty method gets a property value from the currently loaded Content Server property files.

This method provides the same functionality as the following XML command:

Returns

The value of the property. This value can be null or an empty string.

Example

The following code gets the value of the cs.emailhost property:

See Also

LoadProperty , RestoreProperty


ICS.GetProperty

Gets a property value from the specified property files.

Syntax

Parameters

name
The name of the property to get.

files
A semicolon-separated list of property files.

append
A value of true appends the specified property files to current property file.

Description

The GetProperty method gets a property value from the currently loaded Content Server property files.

This method provides the same functionality as the following XML tag:

Returns

The value of the property. This value can be null or an empty string.

Example

The following code gets the value of the cs.emailhost property:

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.