Platform SDK: Transaction Server

IGetContextProperties.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.

New applications should call getProperty.

Provided By

IGetContextProperties

Variant GetProperty(
    String name);

Parameters

name
[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.

Example