GlobalConfig Class (PIA)
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.
You can add your own custom resources to use the GlobalConfig 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.
Methods
Method | Description |
---|---|
CreateServiceConfig | Creates and writes configuration information for the specified resource to the Administration database. |
CreateSiteConfig | Creates a site. |
DeleteServiceConfig | Deletes configuration information for the specified resource. |
DeleteSiteConfig | Deletes the specified configuration for the site and all configurations for the associated resources. |
GetIfCollection | Converts values read from the Fields property into appropriate objects such as a SimpleList object or a System.Array. |
GetResourcePropAttrib | Gets a dictionary of key/value pairs that denote the attributes of the specified property of the specified resource. |
Initialize | Loads the global 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. |
SaveConfig | Saves the global configuration settings to the Administration database. |
Sites | Returns a list of all of the sites available in the administration data store. |
Properties
Property | Type | Description |
---|---|---|
Fields | ADODB26Lib.Fields | Returns group-level configuration data.
This property is read-only. |
Requirements
Namespace: Microsoft.CommerceServer.Interop.Configuration
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_mscscfg (in cs_mscscfg.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.