Platform SDK: Transaction Server

getProperty Method

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

Returns a context object property.

Provided By

Context class

Variant getProperty(
    String propertyName);

Parameters

propertyName
[in] The name of the context object property to be retrieved.

Return Value

The requested context object property.

Remarks

You can use getProperty to retrieve the following Microsoft Internet Information Server (IIS) intrinsic objects:

For more information, see the IIS documentation.

To retrieve an IIS object, use the getDispatch method of returned Variant and cast this value to the interface to the IIS object (for example, IReponse for the Response object).

Note Context properties are not available in MTS 1.0 server processes.