SiteConfigReadOnly Object
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Note
This object is obsolete. Use CommerceResourceCollection or SiteConfigReadOnlyFreeThreaded instead.
Use this object to load site configuration information from the Administration database.
ProgID: |
Commerce.SiteConfigReadOnly (Externally creatable) |
COM Class Name: |
SiteConfigReadOnly |
Type Library Name: |
Microsoft Commerce Server Configuration Type Library |
DLL Name: |
MSCSCfg.dll |
Threading Model: |
Apartment |
[C++]
COM Interface Name: |
_SiteConfigReadOnly |
Interface ID Constant: |
None |
Header File: |
None |
In C++, use the _SiteConfigReadOnly interface to access the properties and methods of the SiteConfigReadOnly object.
Methods
Method |
Description |
---|---|
Gets a list of Commerce Server Server applications for the specified site. |
|
Use this method to convert values read from the Fields property, if appropriate, into either a SimpleList object or a Variant Array. |
|
Loads the site configuration data from the Administration database. |
|
Converts the specified SimpleList object into an Array. |
|
Converts values read from Fields property into an Array. |
|
Converts an Array into a SimpleList object. |
|
Converts an Array into an encoded string, which can be written to the Fields property. |
|
Converts a SimpleList object into an encoded string, which can be written to the Fields property. |
Properties
Property |
Description |
---|---|
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.