SiteConfigReadOnly Class (PIA)

Use this object to load site configuration information from the Administration database.

Methods

Method Description
GetAppsInSite Gets a list of Commerce Server 2002 applications for the specified site.
GetIfCollection Use this method to convert values read from the Fields property, if appropriate, into either a SimpleList object or a System.Array.
Initialize Loads the site configuration data from the Administration database.
MakeArrayFromSimpleList Converts the specified SimpleList object into a System.Array.
MakeArrayFromString Converts values read from the Fields property into a System.Array.
MakeSimpleListFromArray Converts a System.Array into a SimpleList object.
MakeStringFromArray Converts a System.Array into an encoded string, which can be written to the Fields property.
MakeStringFromSimpleList Converts a SimpleList object into an encoded string, which can be written to the Fields property.

Properties

Property Type Description
Fields ADODB26Lib.Fields Returns configuration settings of the site and the site resources.

This property is read-only.

Remarks

The SiteConfigReadOnly object allows access to more configuration data than does the SiteConfig object. With the SiteConfigReadOnly object, group resource values are returned when you access references to resources. In contrast, with the SiteConfig object, only references to the names of the resources are returned.

Depending on how you add your own custom resource, you should be able to use this object to access configuration settings from the Administration database.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Configuration

Platforms: Windows 2000, Windows Server 2003

Assembly: cs_mscscfg (cs_mscscfg)

See Also

Configuration Objects

Integrating Custom Resources

GlobalConfig Class

SiteConfig Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.