GlobalConfig Object
Use this object to accomplish the following:
-
Create or delete resource configuration information
-
Save any updated global configuration information to the Administration database
-
Add a site
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.
Note: |
|---|
|
In Microsoft Internet Information Services (IIS) 6.0, objects are created in the configured application pool for the site, and you can configure each application pool to run as a different user. In order for Commerce Server Config objects to work with IIS 6.0, you must add the application pool user name to COM+. By default, the default application pool runs as "Network Service", with the local user account name being SERVICE. |
|
ProgID: |
Commerce.GlobalConfig (Externally creatable) |
|
COM Class Name: |
GlobalConfig |
|
Type Library Name: |
Microsoft Commerce Server Configuration Type Library |
|
DLL Name: |
MSCSCfg.dll |
|
Threading Model: |
Apartment |
[C++]
|
COM Interface Name: |
_GlobalConfig |
|
Interface ID Constant: |
None |
|
Header File: |
None |
In C++, use the _GlobalConfig interface to access the properties and methods of the GlobalConfig object.
|
Method |
Description |
|---|---|
|
Creates and writes configuration information for the specified resource to the Administration database. | |
|
Creates a site. | |
|
Deletes configuration information for the specified resource. | |
|
Deletes the specified configuration for the site and all configurations for the associated resources. | |
|
Converts values read from the Fields property into appropriate objects such as a SimpleList object or a Variant Array. | |
|
Gets a dictionary of key/value pairs that denote the attributes of the specified property of the specified resource. | |
|
Loads the global configuration data from the Administration database. | |
|
Converts the specified SimpleList object into an Array. | |
|
Converts values read from the 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. | |
|
Saves the global configuration settings to the Administration database. | |
|
Returns a list of all of the sites available in the administration data store. |
Note: