Skip to main content

StreamLocation (Storage Keyword)

Specifies the default storage location for stream properties.

Synopsis

<StreamLocation>^Sample.PersonS</StreamLocation>

Value

The value of this element is a global name with optional leading subscripts.

Description

This element lets you specify the default global used to store any stream properties within a persistent class. The value stored at the root location of this global is a counter that is incremented each time a stream value is stored for this class.

Note that you can also specify the storage of each stream property individually; see Declaring Stream Properties.

Default Value

If not specified, a value for the <StreamLocation> element is generated by the class compiler. Often, the value is ^MyApp.MyClassS (where MyApp.MyClass is the class name), however, it may vary based on a number of factors. For more information on global names for persistent classes, see Globals.

FeedbackOpens in a new tab