Export (0) Print
Expand All

IApplicationObject::putref_Value

IIS 6.0

The IApplicationObject::putref_Value method stores an Automation object in the Application Object. Equivalent to put_Value for non-Automation objects.

HRESULT putref_Value(
   BSTR bstrValue,
   VARIANT var
);

bstrValue

[in] A BSTR that contains the name of the object to retrieve.

var

[in] A variant that contains the reference to the Automation object.

You can use this method to create a reference to an Automation object. You should be careful about using this method, because giving some Automation objects application scope will have a negative impact on server performance. For more information, see Selecting a Threading Model.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Show:
© 2014 Microsoft