SiteConfigReadOnly Object [C++]
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 2002 Configuration Type Library |
DLL Name: | MSCSCfg.dll |
Threading Model: | Apartment |
[C++]
COM Interface Name: | _SiteConfigReadOnly |
Interface ID Constant: | None |
Header File: | None |
[C++] In C++, use the _SiteConfigReadOnly interface to access the properties and methods of the SiteConfigReadOnly object.
Methods
[C++]
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 Variant Array. |
Initialize | Loads the site configuration data from the Administration database. |
MakeArrayFromSimpleList | Converts the specified SimpleList object into an Array. |
MakeArrayFromString | Converts values read from Fields property into an Array. |
MakeSimpleListFromArray | Converts an Array into a SimpleList object. |
MakeStringFromArray | Converts an 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. |
[Visual Basic]
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 Variant Array. |
Initialize | Loads the site configuration data from the Administration database. |
MakeArrayFromSimpleList | Converts the specified SimpleList object into an Array. |
MakeArrayFromString | Converts values read from Fields property into an Array. |
MakeSimpleListFromArray | Converts an Array into a SimpleList object. |
MakeStringFromArray | Converts an 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
[C++]
Property | Type | Description |
---|---|---|
Fields | Fields | Returns configuration settings of the site and the site resources.
This property is read-only. |
[Visual Basic]
Property | Type | Description |
---|---|---|
Fields | 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.
See Also
[C++]GlobalConfig Object
[C++]SiteConfig Object
[Visual Basic]GlobalConfigObject
[Visual Basic]SiteConfig Object
Copyright © 2005 Microsoft Corporation.
All rights reserved.