SS STREAM FLAGS Property

ADO and SQL Server

ADO and SQL Server

SS STREAM FLAGS Property

The SS STREAM FLAGS property specifies how an application controls mapping schemas, XSL files, and templates.

Applies To
Command Object
Syntax

object.Properties("SS STREAM FLAGS") [= value]

Parts

object

Expression that evaluates to an object in the Applies To list.

value

Integer that specifies how an application manages mapping schemas, XSL files, and templates, as specified in Settings.

Settings

An application can use an OR logical operator to specify more than a single value.

Constant Value Description
STREAM_FLAGS_DISALLOW_URL 1 URLs are not accepted for mapping schemas or XSL. This is a security provision that prevents template schema references from allowing URLs to be XSL values.
STREAM_FLAGS_DISALLOW_ABSOLUTE_PATH 2 Paths specified for mapping schemas or XSL must be relative to the base path of the template itself.
STREAM_FLAGS_DISALLOW_QUERY 4 Queries are not allowed in a template. This limits the data that can be returned from the server.
STREAM_FLAGS_DONTCACHEMAPPINGSCHEMA 8 Mapping schema is not cached. This is useful during the development phase, when database schemas are subject to alteration.
STREAM_FLAGS_DONTCACHETEMPLATE 16 Templates are not cached. This is useful during the development phase, when database schemas are subject to alteration.
STREAM_FLAGS_DONECACHEXSL 32 XSL is not cached. This is useful during the development phase, when database schemas are subject to alteration.

Data Type

adInteger

Modifiable

Read/write

OLE DB Property

SSPROP_STREAM_FLAGS

See Also

Base Path Property

Content Type Property

Mapping Schema Property

XML Root Property

XSL Property