共用方式為


ISessionObject::get_StaticObjects

The ISessionObject::get_StaticObjects method retrieves the Session.StaticObjects Colleciton collection of the Session object.

HRESULT get_StaticObjects(
      IVariantDictionary** ppProperties
);

Parameters

  • ppProperties
    [retval] [out] Points to an IVariantDictionary interface pointer that receives the StaticObjects collection.

Remarks

You can iterate through the StaticObjects collection with the get__NewEnum method exposed by the IVariantDictionary interface. You can also retrieve a specific member of the collection with the get_Item method.

Requirements

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

See Also